github gajus/slonik @slonik/sql-tag@49.11.0

latest releases: @slonik/utilities@49.11.0, slonik-interceptor-field-name-transformation@49.11.0
2 hours ago

Minor Changes

  • 48fcccd Thanks @gajus! - fix: sql.and and sql.or wrap each member and the combined expression in parentheses so that nested and embedded conditions keep their meaning, e.g. sql.and([sql.or([a, b]), c]) now produces (((a) OR (b)) AND (c)) instead of a OR b AND c. This changes the SQL generated by every sql.and / sql.or call.

Patch Changes

  • Updated dependencies []:
    • @slonik/errors@49.11.0
    • @slonik/types@49.11.0

Don't miss a new slonik release

NewReleases is sending notifications on new releases.