Comments (2)
You should note that 4.0 supports the select
and include
functions. This means that the returned data fields are completely undefined. You can ask the ORM to return fields that you specify. Then other fields mean null values. So all fields being nullable is deliberate behavior.
from prisma-dart.
For example prisma.user.findMany({ select: { id: true} })
means the returned data is [{id: 1}, {id: 2}]
from prisma-dart.
Related Issues (20)
- why don't Json HOT 2
- Wrong generate model, why? HOT 2
- Prisma binary query engine not ready HOT 10
- prisma-query-engine is not closing when the program is finished HOT 1
- Dependency Dashboard
- Error updating field with null HOT 2
- Generated toJson() method not encoding DateTime and Enum types correctly for JSON responses
- Support Flutter Android
- toJson for JSON fields HOT 1
- ProcessException: Permission denied on MacOS Sonoma 14.1.1 macos app HOT 11
- P2021: Prisma Dart trying to find the wrong table name HOT 8
- Support flutter macOS
- feat: `createManyAndReturn` API
- Flutter Integration Example app throwing build error HOT 3
- feat(client): Support `omit` option to queries
- feat(client): Support `$extends` feature HOT 1
- Flutter integration cannot compile Android App in Windows HOT 11
- v5.0.2 prisma-query-engine is copied to the generation folder. HOT 1
- PrismaClientInitializationError: P1003 The SQLite database file (sqlite.db) does not exist HOT 3
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-dart.