Comments (2)
Though it may seem cumbersome, this is intentional. NULL
in SQL is not unique - ie NULL != NULL
- and so you could have multiple Category
rows where parentId
is NULL
but name
is the same. Thus, a UniqueWhereParam
should not allow for NULL
, since it could return multiple rows. See more here: prisma/prisma#3772
from prisma-client-rust.
Huh, wasn't aware of that. Thanks for the clarification :)
from prisma-client-rust.
Related Issues (20)
- Unique array error HOT 2
- [Build from Git + prisma_client_rust_cli] Error compiling rust-postgres (tokio-postgres) HOT 2
- Can not download query engine for openssl 3.2 HOT 3
- PrismaClient set log level HOT 2
- Include schema by relative path. HOT 3
- Abstracting over fetching relations
- Build for Docker HOT 2
- Support --generator option to generate cmd HOT 2
- Future incompatibility Report HOT 1
- Feat: Code Generate Split Demo
- connection-string: code will be rejected by a future version of Rust
- Upgrade to Prisma 5.9 to improve join performance HOT 2
- MySQL Bad Handshake when using sslcert
- Relation-Count (equivalent to _count) HOT 2
- Cargo check causes entire project to rebuild when run but only when Prisma crates are dependencies HOT 1
- Add optional utoipa to generated prisma macro HOT 1
- Unique constraints with composite type fields HOT 3
- Feedback for โMockingโ HOT 1
- Proper way to cache "prisma generate" command HOT 2
- alpine prisma client generate error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prisma-client-rust.