-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve type inference for sqlite (typedsql) #4976
Conversation
WASM Query Engine file Size
|
CodSpeed Performance ReportMerging #4976 will not alter performanceComparing Summary
|
schema-engine/connectors/sql-schema-connector/src/flavour/mysql/connection.rs
Show resolved
Hide resolved
api.query_raw("SELECT 1=1 as `true`, 1=0 AS `false`;", &[]) | ||
.assert_single_row(|row| row.assert_int_value("true", 1).assert_int_value("false", 0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I always forget that SQLite doesn't return booleans
Looking at the Wasm Query Engine size table, I see the gzipped size of the packages increased by a few KBs. While this is understandable for SQLite, it can perhaps be avoided for MySQL and PostgreSQL. May you please give it another look in that direction? Thanks! |
3794977
to
8ad8a33
Compare
Overview
closes https://github.com/prisma/team-orm/issues/1249