christrading
Explore posts from serversDTDrizzle Team
•Created by christrading on 8/24/2024 in #help
Drizzle Error - Drizzle Kit - Integer
Bug report is attached
1 replies
DTDrizzle Team
•Created by christrading on 8/20/2024 in #help
drizzle-kit migrate error
When I
drizzle-kit generate
a schema change of
and then run drizzle-kit migrate
how come I get the below error that is about another unrelated credential
table?
1 replies
DTDrizzle Team
•Created by christrading on 6/11/2024 in #help
LibsqlError: SQLITE_BUSY: database is locked
I am getting a
LibsqlError: SQLITE_BUSY: database is locked
error on my insert function here with LibSQL/Turso as my SQLite driver
This error occurs after refactoring my driver from better-sqlite3
to LibSQL / Turso. My application ran without the error with the relatively same code here. The only difference two differences with the LibSQL / Turso driver is that we await
to get the db
and .run()
the query statement.
In both the working better-sqlite3 driver and non-working turso driver, we have this function called from within a db.transaction()
. Then pullForChanges
calls the function with await putClientGroup(nextClientGroupRecord)
5 replies
DTDrizzle Team
•Created by christrading on 5/6/2024 in #help
Drizzle Migrate with Turso
On the migrate command
drizzle-kit generate:sqlite && npx tsx ./drizzle/migrate.ts
I get error
51 replies
DTDrizzle Team
•Created by christrading on 1/29/2024 in #help
Drizzle Schema Defaults
This is one of my table schemas in Prisma
Are identifiers such as
@id
and default with values such as autoincrement()
and now()
available in Drizzle? I am using better-sqlite-3 as the driver17 replies
DTDrizzle Team
•Created by christrading on 1/1/2024 in #help
SQLite Query
My Drizzle + TypeScript + SQLite (better-sqlite-3) fails on
updateItemStatementQuery.run()
. Why is that? I have updated my fields to contain double quotes with ''
as suggested before from a previous help thread.15 replies
DTDrizzle Team
•Created by christrading on 12/28/2023 in #help
As Column Alias
Hello,
I have this drizzle + sqlite (better-sqlite-3) + typescript function, however, it's failing on the part where I use a subquery in the main query.
This is the part that makes the query fail, and works otherwise if I comment it out
My editor intellisense shows that the
shareListIdSubquery
type is SubqueryWithSelection
What may be the reason that the subquery is breaking?4 replies
DTDrizzle Team
•Created by christrading on 12/21/2023 in #help
"No Such Column" Error
I'm using TypeScript, DrizzleORM, and SQLite (better-sqlite-3)
How come I get error of
no such column: share
or no such column: todo
?
Thanks in advance for the help 🙂 🙏21 replies
TTCTheo's Typesafe Cult
•Created by christrading on 2/14/2023 in #questions
Create T3 App Lighthouse Performances
10 replies