sevenwestonroads
DTDrizzle Team
•Created by sevenwestonroads on 1/21/2024 in #help
Using json_agg does not format correctly
I didn't know it existed @Angelelz - do you mind sharing an example? Thank you !
8 replies
DTDrizzle Team
•Created by sevenwestonroads on 1/19/2024 in #help
ENUM not detected
Upgrading my DRIZZLE packages worked - thank you team ! ❤️
2 replies
DTDrizzle Team
•Created by sevenwestonroads on 12/18/2023 in #help
What work is required to support ClickHouse?
yes! it's an SQL-like dialect they say they
supports a declarative query language based on SQL that is identical to the ANSI SQL standard in many cases
.5 replies
DTDrizzle Team
•Created by sevenwestonroads on 10/10/2023 in #help
Psql Array of text and `createSelectSchema`, `createInsertSchema`
I was thanking in advance @ByteBender 😂😂🙏
7 replies
DTDrizzle Team
•Created by sevenwestonroads on 10/10/2023 in #help
Psql Array of text and `createSelectSchema`, `createInsertSchema`
Thanks !!!
7 replies
DTDrizzle Team
•Created by sevenwestonroads on 9/20/2023 in #help
Best practice on connections for PostgreSQL
Like below @rphlmr ?
8 replies
DTDrizzle Team
•Created by sevenwestonroads on 9/20/2023 in #help
Best practice on connections for PostgreSQL
Yes !
8 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
So I finally used the postgres driver for Node instead of pg. Then I had to ‘skipLibCheck’ and it worked like a charm.
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
Hey @Eko sure
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
That was the missing link @Andrew Sherman thank you !
You're the best man I made it work finally
Next.js + serverless Lambdas + drizzle-orm in a Turborepo
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
Thank you @Andrew Sherman !
I got this step working, but I'm stuck at linting step with wrong types for
drizzle-orm
This is the error;
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
I've seen a related question here -> https://github.com/orgs/vercel/discussions/228
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
Our friend GPT4 told me that;
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/12/2023 in #help
Deploying Next.js w/ Drizzle on Vercel with Turborepo
I've had no error in local development. But when trying to deploy to Vercel I've had this error;
21 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/7/2023 in #help
The inferred type of '<tableName>' cannot be named without a reference to '.pnpm/[email protected]
Ok I made it work;
DISCLAIMER -> I'm using turborepo
I uninstalled
drizzle-zod
globally, but installed it locally in my packages/database
(ie. subfolder where my tables, types are defined)
------
But for the createInsertSchema
I now got the following error
4 replies
DTDrizzle Team
•Created by sevenwestonroads on 5/7/2023 in #help
The inferred type of '<tableName>' cannot be named without a reference to '.pnpm/[email protected]
Here's what's throwing the error;
export const accountsInsertSchema = createInsertSchema(accounts);
With accounts
being a pgTable (defined without error).
Here are my versions;
4 replies
DTDrizzle Team
•Created by sevenwestonroads on 4/30/2023 in #help
Typesafe floats ?
float does not work in PSQL if I'm not mistaken.
I've used this ->
But still got the string type
4 replies
DTDrizzle Team
•Created by sevenwestonroads on 4/30/2023 in #help
Typesafe floats ?
At the moment - here's what I'm doing:
weight: (100).toFixed(2)
4 replies