MongoDB Introspection Multiple Types warning message in CLI output does not differentiate models and embedded documents
See original GitHub issue// The following fields had data stored in multiple types. The most common type was chosen. If loading data with a type that does not match the one in the data model, the client will crash. Please see the issue: https://github.com/prisma/prisma/issues/9654
// - Model "MoviesImdb", field: "rating", chosen data type: "Double"
// - Model "MoviesImdb", field: "votes", chosen data type: "Int32"
Actual affected type
not model
:
type MoviesImdb {
id_ Int @map("id")
/// Multiple data types found: String: 0.1%, Double: 99.9% out of 1000 sampled entries
rating Float
/// Multiple data types found: String: 0.1%, Int32: 99.9% out of 1000 sampled entries
votes Int
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Prisma 3.10.0 Release - GitClear
We're super excited to announce that Prisma version 3.10.0 supports reading and modifying embedded documents. Embedded documents will provide ...
Read more >Monitoring Database Systems — MongoDB Manual
This document provides an overview of the available tools and data provided by MongoDB as well as an introduction to diagnostic strategies, and...
Read more >Spring Data MongoDB - Reference Documentation
This document is the reference guide for Spring Data - MongoDB Support. ... Asynchronous queries differ from reactive queries and should not be...
Read more >Table of Contents - Micronaut Documentation
Micronaut is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin, and ......
Read more >Node.js v19.3.0 Documentation
Warning : binding inspector to a public IP:port combination is insecure ... AsyncHook does not explicitly distinguish between these different cases but will ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the js side prints the message out of this data. I’d say if the data holds
compositeType
field, print:Otherwise
Comment from Julius