Dan Kochetov
Dan Kochetov
> now should I extend insertjson with a proper jsonb query sure, go ahead @LeonAlvarez
Add `"skipLibCheck": true` to your tsconfig
A one-to-one relation always returns a single item based on the relation, how would you filter it?
Filtering by a nested relation's field is not supported currently. Filtering applies to the current relation level, not to the top level. Since it's a `one` relation, it always returns...
The docs have outdated syntax. Use `blob('blob', { mode: 'json' }).$type()`
Good catch, will look into it.
I checked, and it seems like this is how Zod inference works - if you define an `.optional()` property in an object, it will always be inferred as both `...
I'm not sure I understand what's the difference between `findUnique` and `findFirst`, to be honest. What's stopping you from using the `findFirst` and filter by the same columns you would...
@meech-ward the pipeline is failing
You can just store the condition in a variable and update it according to your logic, then pass to `.where()`. Its type would be `SQL`.