v1.32.0: Enhancements and Bug Fixes in SQL Statement Handling and Error Identification
What's Changed
- NEW:
Flavor
getters by @rodionovv in #177- There is a new method
Flavor()
inBuilder
to get current flavor set in a builder.
- There is a new method
- NEW: Automatically reference names of
CTETable
s inDELETE
andUPDATE
statements. #179- Based on the discussion in issue #176, the capability previously used with
CTETable
to automatically include the CTE table name in theFROM
clause ofSELECT
statements has now been extended toUPDATE
andDELETE
statements.
- Based on the discussion in issue #176, the capability previously used with
- FIX: Avoid stack overflow when
Cond
is misused. #180- Based on the discussion in issue #178, users may call this method to create
Cond
for building various conditions, which is a misuse, but we cannot completely prevent this error. - To facilitate problem identification for users, in the event of misuse of
NewCond()
, the generated SQL will include the pattern/* INVALID ARG $n */
, wheren
is the sequence number of the problematic variable, allowing users to quickly pinpoint the issue.
- Based on the discussion in issue #178, users may call this method to create
Full Changelog: v1.31.0...v1.32.0