aboutsummaryrefslogtreecommitdiff
path: root/lib/sql/dml_kind.go
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2024-01-27lib/sql: support update, bind where condition, and subquery in MetaShulhan
This changes add parameter kind to NewMeta, which define the kind of DML to be mapped by Meta. The method Add renamed to Bind, and AddWhere renamed to BindWhere. New methods added to Meta, - Sub return the child of Meta for building subquery, - UpdateValues return the merged of ListValue and ListWhereValue for DML UPDATE - WhereFields return string that merge the ListWhereCond and ListHolder separated by "="
2023-05-12lib/sql: add type DmlKindShulhan
The DmlKind define the kind for Data Manipulation Language.