Mario564
Mario564
Explore posts from servers
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
That's also an alternative. Things should be a lot more stable in that regard
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
Don't have an ETA since there's implementing these fixes, reviewing them and then shipping them to a release, which all might have variable amount of time to complete
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
I think the best coures of action right now is adding your own script that patches up the issues you may encounter with introspection. Aside from some Kit issues, the ORM itself is very stable and definitely worth a shot
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
It likely is a bug
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
Not much for now, aside from manually including the import or making script that adds that line
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
We may not be able to immediately fix it as Kit is underdoing a rewrite, but we'll try to address it as soon as that's done
32 replies
DTDrizzle Team
Created by Joey9 on 4/12/2025 in #help
Drizzle & Supabase
This definitely seems like an oversight on our part. Could you please submit an issue on Github to track this issue?
32 replies
DTDrizzle Team
Created by DiamondDragon on 3/30/2025 in #help
Buffer is not defined - drizzle-arktype
Will look into it, thanks for reporting
7 replies
Aarktype
Created by noah on 4/6/2025 in #questions
Generic wrapper for drizzle-arktype functions
You could try:
PgTableWithColumns<{
name: any,
dialect: any,
schema: any,
columns: {
id: PgInteger<... /* You may need to fill more stuff here */>,
}
}
PgTableWithColumns<{
name: any,
dialect: any,
schema: any,
columns: {
id: PgInteger<... /* You may need to fill more stuff here */>,
}
}
8 replies
Aarktype
Created by noah on 4/6/2025 in #questions
Generic wrapper for drizzle-arktype functions
You may also need to wrap the Column types with other types like NotNull, HasDefault, etc.
8 replies
Aarktype
Created by noah on 4/6/2025 in #questions
Generic wrapper for drizzle-arktype functions
The generic type should be declared as:
T extends PgTableWithColumns<{
// Change the below properties to other types in case they don't match the ones used in your schema
id: PgIntegerColumn;
createdAt: PgTimestampColumn;
updatedAt: PgTimestampColumn;
}>
T extends PgTableWithColumns<{
// Change the below properties to other types in case they don't match the ones used in your schema
id: PgIntegerColumn;
createdAt: PgTimestampColumn;
updatedAt: PgTimestampColumn;
}>
8 replies
DTDrizzle Team
Created by Arthur on 2/13/2025 in #help
Drizzle zod infer wrong type
Nope, still waiting on other bugfix PRs to be merged before working on new ones
10 replies
DTDrizzle Team
Created by Arthur on 2/13/2025 in #help
Drizzle zod infer wrong type
Will look into it. Thanks for creating the issue
10 replies
DTDrizzle Team
Created by SpoderMan on 2/3/2025 in #help
Self join breaks return type
Don't know honestly. I think aliasedTable is an outdated implementation of alias. The former is likely to be deprecated and then removed in v1
9 replies
DTDrizzle Team
Created by SpoderMan on 2/3/2025 in #help
Self join breaks return type
@SpoderMan
9 replies
DTDrizzle Team
Created by SpoderMan on 2/3/2025 in #help
Self join breaks return type
import { alias } from "drizzle-orm/pg-core"

const parent = alias(users, "parent");
import { alias } from "drizzle-orm/pg-core"

const parent = alias(users, "parent");
9 replies