Creating a table

In CookieDB all table creation is under the concept of "create if not exists". You are able to use any table name you like, except for those prefixed and suffixed by double underscores.

await cookieDB.createTable("table_name");

If we want to add a schema (and we should), we can simple include a json body as the schema.

await cookieDB.createTable("table_name", {
  name: "string",
  is_cool: "boolean",
});