Skip to main content
0 votes
0 answers
115 views

Module build failed: UnhandledSchemeError: Reading from "node:events" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. ...
Jcodes5555 's user avatar
-1 votes
2 answers
511 views

There is a problem that in migration i have accidentally deleted the base file and whenever I run generate command it will make file that have command applies changes to main file(in which I need the ...
Javad smd's user avatar
0 votes
0 answers
163 views

While trying to connect a Neon Database and DrizzleORM, my next.js program was reflecting an error while trying to run "npx drizzle-kit push". Warning '@neondatabase/serverless' can only ...
Praganya Kumar's user avatar
1 vote
1 answer
953 views

How can I use Drizzle to query records within a specific time frame defined by two timestamps? I'm using PostgreSQL and I searched and it seems the only thing available is between() method, which only ...
jexroid's user avatar
  • 324
0 votes
1 answer
47 views

I'm working on a react-native application with op-sqlite and drizzle. For the first migration, I've defined a view: export const operationListItems = sqliteView('OperationListItems', { OperationType:...
Spook's user avatar
  • 26.2k
1 vote
1 answer
861 views

I am trying to set connection to Postgres from Drizzle, but I cannot set the schema name in the connection string I tried postgres://localhost:5432/mydatabase?searchpath=myschema postgres://...
eliezra236's user avatar
  • 1,045
1 vote
0 answers
307 views

The types are inferred from drizzle queries in the backend. I thought of exporting types from backend -> shared package -> frontend. But this seems like a bad idea now. How to share the types ...
raspace's user avatar
0 votes
1 answer
323 views

I'm trying to get the type from a query that I made, but I'm not sure how to do it. I've tried using $inferSelect but it gives me the whole table and not selected columns I want. export const ...
user30123003's user avatar
0 votes
2 answers
205 views

I thought most if not all of Drizzle's Postgres setup for React Native would be pretty much React Native agnostic in the end, so I followed their "Get Started" tutorial to get to this point. ...
psygo's user avatar
  • 7,853
0 votes
0 answers
327 views

Say I have a drizzle MySQL schema with a table session. I'd like to store when the session was started, and when the session was ended (created_at, started_at, respectively). Here is an excerpt from ...
KamielDev's user avatar
  • 589
1 vote
0 answers
499 views

Getting this error while using monorepos with bun-workspaces. While I don't suggest to use bun for monorepo. I have packages/* and apps/* getting error while importing drizzle-client pacakges from ...
Aditya Sharma's user avatar
1 vote
0 answers
43 views

Let's say I have the following relation definition: export const externalUsersRelations = relations(external_users, ({one}) => ({ users: one(users, { fields: [external_users.user_id], ...
thebjorn's user avatar
  • 27.6k
0 votes
2 answers
42 views

I'm working on an application that interacts with a PostgreSQL with drizzle-orm, and I'm having trouble updating a user's message count in profile. The updateProfile function is supposed to increment ...
Simon Bakken-Jantasuk's user avatar
0 votes
0 answers
65 views

I am writing webapplication in Next.js, Drizzle-orm, sqlite and tested it on local machine, its working without any issues but when I move to hostinger.com VPS server its not working. It gives 500 ...
FijiWeb's user avatar
0 votes
0 answers
21 views

I am trying to create a Discord OAuth2 application from scratch. Everything has gone well except trying to implement state to prevent CSRF attacks. I don't know how to pass the state generated from ...
Izzy's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
7