node-mysql-query-utils
Advanced tools
Changelog
[1.0.4] - 2024-10-07
update
method of the SQLBuilder
class.
{ increment: number }
or { decrement: number }
for fields to increment or decrement their values.increment
and decrement
are provided for the same field.LIKE
and NOT LIKE
operators handle in the SQLBuilder
class.
contains
, startsWith
, or endsWith
are provided for the same field.Changelog
[1.0.3] - 2024-10-01
TableModel
class return methods.NOT IN
, NOT LIKE
, and REGEXP
operators to the where
condition parameter in the SQLBuilder
class.LIKE
and NOT LIKE
operators, previously only accepted strings. Now added support for contains
, startsWith
, and endsWith
for more flexible use cases.Changelog
[1.0.2] - 2024-09-30
options
parameter to buildQuery
method to support query formatting.queryParts
private to prevent accidental exposure. queryParts
is an internal structure used to build SQL queries and should not be accessed directly.Changelog
[1.0.0] - 2024-09-27
node-mysql-query-utils
.patchSingleField
function was not working as expected due to the misalignment between the dist folder and the source code.