Update a document

In CookieDB, updating a document can be done via a document key, table, and a partial document. This will throw if the document doesn't exist, if the document isn't a part of the specified table, or if the table doesn't exist.

await cookieDB.update("table_name", "document_key", {
  name: "HugeCookieFan37",
});