you could also write an abstraction on top of the cache api so it'd just be `.get(key)` and `.put(ke
you could also write an abstraction on top of the cache api so it'd just be
.get(key) and .put(key,value).get(key).put(key,value)EXPLAIN QUERY PLAN SELECT * FROM objects WHERE object = '${key}' and it'll tell you what it's doing

null...
PRAGMA foreign_keys=OFF;. In D1, however, with PRAGMA defer_foreign_keys=ON;, the referential actions still run. That happens in Miniflare and in remote D1...
55,835,335.95 or 558,353,359.5 how do I read a fraction of a row? Also if first 25 billion included rows is included is the real number 25 billion + 55,835,335.95 ? What's the number under the 55,835,335,95 , does that mean I uses 55,835,335,95 x 3 ?
25 billion + 55,835,335,953 ?




By default, FTS5 maintains a single index recording the location of each token instance within the document set. This means that querying for complete tokens is fast, as it requires a single lookup, but querying for a prefix token can be slow, as it requires a range scan. For example, to query for the prefix token "abc*" requires a range scan of all tokens greater than or equal to "abc" and less than "abd".
A prefix index is a separate index that records the location of all instances of prefix tokens of a certain length in characters used to speed up queries for prefix tokens.
MATCH ? depending on what the substitution is.EXPLAIN QUERY PLAN SELECT * FROM objects WHERE object = '${key}'nullMODIFYPRAGMA foreign_keys=OFF;PRAGMA defer_foreign_keys=ON;55,835,335.9555,835,335.95558,353,359.525 billion55,835,335,9555,835,335,95 x 325 billion + 55,835,335,953MATCH ?-- RedefineTables
PRAGMA defer_foreign_keys=ON;
CREATE TABLE "new_Product" (
"id" TEXT NOT NULL PRIMARY KEY,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL,
"name" TEXT NOT NULL,
"description" TEXT,
...some more rows
CONSTRAINT "Product_eventId_fkey" FOREIGN KEY ("eventId") REFERENCES "Event" ("id") ON DELETE RESTRICT ON UPDATE CASCADE,
CONSTRAINT "Product_totalCapacityId_fkey" FOREIGN KEY ("totalCapacityId") REFERENCES "Capacity" ("id") ON DELETE SET NULL ON UPDATE CASCADE
);
INSERT INTO "new_Product" ("createdAt", "description", "id", "name", "updatedAt", ...) SELECT "createdAt", "description", "id", "name", "updatedAt", ... FROM "Product";
DROP TABLE "Product";
ALTER TABLE "new_Product" RENAME TO "Product";
PRAGMA foreign_key_check("Product");
PRAGMA defer_foreign_keys=OFF;wrangler d1 execute db-name --command "ALTER TABLE items MODIFY COLUMN user_id INT NOT NULL;"CREATE TABLE IF NOT EXISTS transcripts (
feed_id INTEGER REFERENCES feeds_metadata(feed_id),
archive_date TEXT,
archive_date_time TEXT,
object_key TEXT,
segment_start REAL,
segment_end REAL,
segment TEXT
);
CREATE VIRTUAL TABLE IF NOT EXISTS transcripts_fts USING fts5(segment);