v1.32.0: Enhancements and Bug Fixes in SQL Statement Handling and Error Identification
What's Changed
- NEW:
Flavorgetters by @rodionovv in #177- There is a new method
Flavor()inBuilderto get current flavor set in a builder.
- There is a new method
- NEW: Automatically reference names of
CTETables inDELETEandUPDATEstatements. #179- Based on the discussion in issue #176, the capability previously used with
CTETableto automatically include the CTE table name in theFROMclause ofSELECTstatements has now been extended toUPDATEandDELETEstatements.
- Based on the discussion in issue #176, the capability previously used with
- FIX: Avoid stack overflow when
Condis misused. #180- Based on the discussion in issue #178, users may call this method to create
Condfor 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 */, wherenis 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