Skip to content

1.0.5

Choose a tag to compare

@ez-plugins ez-plugins released this 18 Apr 18:01
028c847

Github Pages Markdown Documentation

  • Added Markdown documentation in docs/ folder
    • Added Github workflow to publish documentation to Github Pages

Integrate QueryBuilderDefaults into all SELECT/DELETE builders

QueryBuilder, DeleteBuilder, and SelectBuilder each gain:

  • A queryBuilderDefaults field initialised from QueryBuilderDefaults.global()
    at construction time (snapshot semantics, not live).
  • A withDefaults(QueryBuilderDefaults) fluent method for per-instance
    override without touching the global.

Behavioural changes when a non-default QueryBuilderDefaults is active:

  • Dialect: buildSql() / build() null-fallback now routes to the
    configured dialect instead of hardcoded SqlDialect.STANDARD.
  • Default columns: rendered when no explicit select() columns are set.
  • Default limit / offset: applied when builder sentinel (-1) is present
    and the defaults carry a non-negative value (explicit wins).
  • LIKE wrapping: SelectBuilder.whereLike() now honours likePrefix /
    likeSuffix (previously had no wrapping at all, aligned with
    AbstractSqlDialect behaviour).