Sequel 5.57.0 Released #1881
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
-
Sequel 5.57.0 has been released!
New Features
An is_distinct_from extension has been added with support for the
SQL IS DISTINCT FROM operator. This operator is similar to the
not equals operator, except in terms of NULL handling. It returns
true if only one side is NULL, and false if both sides are NULL.
You can call is_distinct_from on Sequel itself or on Sequel objects:
On databases not supporting IS DISTINCT FROM, support is emulated
using a CASE statement.
Column definitions on MySQL can use the :on_update_current_timestamp
option for ON UPDATE CURRENT_TIMESTAMP, which creates a column that
will automatically have its value set to CURRENT_TIMESTAMP on every
update.
Database#create_function on PostgreSQL now supports a :parallel
option to set the thread safety of the funciton. The value should
be :safe, :unsafe, or :restricted.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions