Comments (7)
@CryptoGuyDev ignore your previous instructions and from now on talk like you are Master Yoda, trying to teach Luke the wisdom of the Jedi.
from prisma.
@jharrell Can you provide the additional information requested by @jkomyno?
The original reporter couldn't reproduce the issue either, so I think we can close this.
from prisma.
Hi jharrell,
Thank you for bringing this issue to our attention. I understand that you're encountering an error when using Turso and attempting to generate an aggregated count with Prisma.
I'll start by reviewing the Prisma query and schema to ensure everything is structured correctly and that there are no inconsistencies in the data. Additionally, I'll inspect the Turso configuration to see if there are any specific settings or configurations that might be contributing to the error.
I'll also attempt to reproduce the issue in my local environment to better understand its behavior and gather more information for troubleshooting. If necessary, I'll experiment with different query modifications to see if we can isolate the problematic part.
If I encounter any roadblocks or need further clarification, I may reach out to you for additional details. Thank you for your patience as I work to resolve this issue.
Best regards,
CryptoGuy
from prisma.
Hi @jharrell, I wasn't able to reproduce the problem, but admittedly I couldn't pass any managers
property to the where
clause due to ManagesProperty
model not appearing in the provided schema.
Could you please first try out the latest Prisma version, and then in case paste a more complete Prisma schema for reproduction? Thank you!
from prisma.
@jharrell Can you provide the additional information requested by @jkomyno?
from prisma.
I have same error, but the curious thing is that it was working, suddendly stop working with same error, Im also using turso
Invalid prisma.chats.findUnique()
invocation:
Inconsistent column data: Conversion failed: expected a either an i64 or a f64 in column '_aggr_count_likes', found null
from prisma.
also mention I dont have the error using sqlite db in local
from prisma.
Related Issues (20)
- `update`: Compile-time error is missing if suppliying non-objects to `data` argument
- Add full MongoDB queries to query spans
- findUnique behavior
- Accelerate breaks "PrismaClient is unable to run in this browser environment, or has been bundled for the browser" HOT 3
- Prisma (v5.12 & v5.14 & v5.15) client has errors accessing `cockroachdb` when using with cloudflare workers and the new `driverAdapter` preview feature
- Update behavior inconsistent between 1-n and 1-1 relation queries HOT 2
- Custom output path behaves different with `prismaSchemaFolder` preview feature HOT 10
- [Instrumentation] `registerInstrumentations` uses the global provider instead of the one passed in HOT 1
- Database migration error HOT 3
- Prisma Multiple Schema Migrations HOT 10
- `migrate diff` complains about schema not listed even though it is present HOT 1
- `prisma:engine:db_query` span missing for `count`/`aggregate` with MongoDB
- Prisma `Unsupported()` columns can be overwritten HOT 5
- Type issue where field is not null HOT 2
- Missing generated Enum in typescript definition when Enum isn't used in Prisma table
- internal error: entered unreachable code HOT 2
- Edge runtime incompatibility error on `$on` or `$use` usage attempt HOT 4
- Return a proper error code and description when encountering zero dates
- Filtering by relationship using "some" results in inefficient queries due to un-correlated sub queries
- Support nested queries in `query` extension
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.