hirefrank
Explore posts from serversDTDrizzle Team
•Created by hirefrank on 8/13/2024 in #help
Drizzle + Turso + Embeddings?
Is there support for turso/sqlite for embeddings and indexes similar to:
https://orm.drizzle.team/learn/guides/vector-similarity-search
2 replies
DTDrizzle Team
•Created by hirefrank on 4/26/2024 in #help
SQL many statements?
Any ideas on how to debug this?
The generate SQL its trying to run is
Using sqlite/turso and deno. Thanks!
8 replies
DTDrizzle Team
•Created by hirefrank on 4/22/2024 in #help
Creating a View with Turso/Sqlite
When I use
drizzle-kit generate:sqlite --config ./drizzle/drizzle.config.ts
this doesn't get picked up / no sql gets generated. This is my first time creating a view for sqlite/turso. I feel like I'm doing something obviously wrong but I've been starring at this for an hour. :/ Thanks in advance!2 replies
DTDrizzle Team
•Created by hirefrank on 3/4/2024 in #help
Odd connection ended error
I've been using Drizzle for months without a hitch. But for some reason I'm now running to an error when I do a simple insert. This is new code (never worked before) and I've been staring at it for hours. Can you spot the simple mistake? What does this error generally mean?
error: Uncaught (in promise) Error: write CONNECTION_ENDED domain:5432
return query.reject(Errors.connection('CONNECTION_ENDED', options, options))
^
at Query.handler (https://deno.land/x/[email protected]/src/index.js:288:34)
at Query.handle (https://deno.land/x/[email protected]/src/query.js:141:65)
at eventLoopTick (ext:core/01_core.js:166:7)
from this code....
const [metadata] = await db.insert(companyMetadata)
.values({
id: "061e34f0-c452-4d33-a923-02618cb6b5e9",
domain: "airbnb.com",
url: "https://www.airbnb.com/",
}).returning();
1 replies
DTDrizzle Team
•Created by hirefrank on 7/11/2023 in #help
Sqlite3 support for Deno
Apologies if I'm being dense, but is there support for deno with a local sqlite3 db? I can't seem to get better-sqlite3 working in Deno.
TIA
13 replies