Sequel 5.93.0 Released #2308
jeremyevans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sequel 5.93.0 has been released!
New Features
Dataset#explain on PostgreSQL now supports options for all EXPLAIN
options supported by PostgreSQL. These boolean options are supported:
These non-boolean options are supported:
Sequel::OLD and Sequel::NEW constants have been added, for use in
returning statements on PostgreSQL 18+.
Dataset#prepare_sql_type has been added for setting the SQL type
to use for the prepared statement separately from the return type.
This method is designed primarily for cases where you are using
INSERT/UPDATE/DELETE RETURNING, and want to be able use each,
single_value, first, map, to_hash, or to_hash_groups as the return
type. For example, if you want to update multiple rows and return
the rows updated as an identity-keyed hash:
Other Improvements
Database#create_table and related methods now support multilevel
qualified identifiers:
This is mostly useful on Microsoft SQL Server.
The pg_auto_parameterize extension now supports Database#explain.
and #analyze. Both methods now use an append-only approach to
building the SQL string to explain.
Dataset#quote_identifier's handling of SQL::Identifier values
wrapping LiteralString values has been fixed. Such identifiers are
no longer quoted:
SQL::QualifiedIdentifier no longer converts SQL::Identifier values
wrapping LiteralString values into plain String values. This fixes
unexpected quoting issues:
The mock postgres adapter now emulates PostgreSQL 17 instead of
PostgreSQL 15 by default.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions