Skip to content

Commit

Permalink
feat: enable INSERT/DELETE RETURNING for SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
laplab committed Jan 11, 2024
1 parent 76f7ca2 commit dddb65f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ const CAPABILITIES: ConnectorCapabilities = enumflags2::make_bitflags!(Connector
NativeUpsert |
FilteredInlineChildNestedToOneDisconnect |
RowIn |
// InsertReturning - While SQLite does support RETURNING, it does not return column information on the way back from the database.
// This column type information is necessary in order to preserve consistency for some data types such as int, where values could overflow.
// Since we care to stay consistent with reads, it is not enabled.
DeleteReturning | // TODO laplab: double check with comment above.
InsertReturning |
DeleteReturning |
SupportsFiltersOnRelationsWithoutJoins
});

Expand Down

0 comments on commit dddb65f

Please sign in to comment.