CrisOG
CrisOG
Explore posts from servers
DTDrizzle Team
Created by CrisOG on 2/4/2024 in #help
sql.placeholder not working for pg array of strings
Thank you! @Angelelz
5 replies
DTDrizzle Team
Created by CrisOG on 1/31/2024 in #help
Placeholder does not work properly with update
Thank you <:peepo_sip:1147455108834152478>
8 replies
DTDrizzle Team
Created by CrisOG on 1/31/2024 in #help
Placeholder does not work properly with update
This is the schema for user
export const userTable = pgTable('user', {
id: text('id').primaryKey(),
name: text('name'),
role: roleEnum('role').notNull().default('user'),
createdAt: timestamp('createdAt').notNull().defaultNow(),
updatedAt: timestamp('updatedAt').notNull().defaultNow()
});
export const userTable = pgTable('user', {
id: text('id').primaryKey(),
name: text('name'),
role: roleEnum('role').notNull().default('user'),
createdAt: timestamp('createdAt').notNull().defaultNow(),
updatedAt: timestamp('updatedAt').notNull().defaultNow()
});
8 replies
DTDrizzle Team
Created by CrisOG on 1/31/2024 in #help
Placeholder does not work properly with update
No description
8 replies
DTDrizzle Team
Created by CrisOG on 1/31/2024 in #help
Placeholder does not work properly with update
For sure, 1 sec. it's a type error though
8 replies
DTDrizzle Team
Created by Pioter on 10/22/2023 in #help
Prepared Update statements
The placeholders don't seem to be supported tho, or am I doing something wrong? https://discord.com/channels/1043890932593987624/1202391466865860618
7 replies