DT
Drizzle TeamTjark
syntax highlighting not working
I reinstalled the node_modules multiple times and it didnt fix my problem. This isnt suposed to look like this does it?
Tjark•247d ago
Perhaps I imported my stuff wrong?
Angelelz•247d ago
This is not related to Drizzle at all. Syntax highlighting is is your code editor's job
You might have the wrong extension for that file
Tjark•247d ago
I read something about drizzle having its own, thats why asked here
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More PostsPrepare raw sql query (Postgres)Hi, I need to do a recursive query, so I think I need to use the magic sql operator to build it. Is packing migration files with the libraryhey there, I'm trying to use `migrate` inside from a library consumer (i.e I have a `@mycompany/db-lAny way to invoke a SQL function?For ex: lets say I declare a SQL function `CREATE OR REPLACE FUNCTION do_something()`
how do i invoHow to include array literals in raw sql?I have an input array used for an order by using the array_position function - rather than passing tMySQL Table SchemasI need to generate the following structure of tables:
`1. Sales
2.Sales
....`
Currently if I use wany way to automatically cast numeric types on retrieval?I have a numeric field in a video table:
```
export const VideoTable = pgTable('videos', {
id: uuiQuery in drizzle doesn't work## Error:
```console
DrizzleError: No fields selected for table "usersToGroups" ("users_groups")
``Cannot read properties of undefined (reading 'referencedTable')Seemingly getting this error out of nowhere. I believe it's related to the relations I defined, but Relational query builder in mysql?I cant find anything about how to implement this. Am I blind or is this impossible?TransactionRollbackErrorNeed some help understanding TransactionRollbackError...
Is this error saying the `tx.rollback()` f