Comments (2)
Unfortunately we can't support this. We'd need to change the output for every query since we can't detect compile-time if the query would return an array or multiple arrays. Adding a separate method is not an option either since we'd need to modify the driver interface, which is used by all third party dialects.
from kysely.
Would expanding QueryResult
type be an option? Exposing the raw response from the pg
client inside the QueryResult
payload.
This comment The rows returned by the query. This is always defined and is empty if the query returned no rows.
for the rows
property is misleading, because the response from pg
actually have rows.
from kysely.
Related Issues (20)
- Invalid parameter serialization when using array operators (@>, <@, &&) HOT 3
- Migrations with custom provider don't work properly HOT 2
- Migrations with custom provider don't work properly if Migrations are instances of classes, implementing Migration interface. HOT 1
- Migrations with custom provider don't work properly if Migrations are instances of classes, implementing Migration interface. HOT 2
- JSON Array of Column Values
- Failed to update JSON column in Mariadb, supplied JSON not stringfied HOT 1
- Can't connect to better-sqlite 3 driver
- How to manipulate RootOperationNode ? HOT 1
- How to concatenate multiple Compiled Queries HOT 1
- How can I bind a compiled query with it's parameters ? HOT 3
- Failing Migration HOT 1
- Raw SQL to CALL PROCEDURE with MySQL
- Support expressions in constraints HOT 1
- [ASK] Property 'join' does not exist on type 'SelectQueryBuilder<DB, "electives" | "electives_on_elective_questions", {}>' HOT 1
- Support CROSS JOIN and CROSS JOIN LATERAL HOT 5
- Type infer error on dynamic selection HOT 3
- Is there any API that can compile a multi count and DISTINCT count query? HOT 3
- Migrations should support readonly arrays for `createType().asEnum()` HOT 1
- Use `pg_get_serial_sequence` to detect auto incrementing columns
- AlterTableBuilder add index fails
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 kysely.