abbott-mysql
v1.0.11
Published
mysql
Downloads
7
Readme
SORT(sortAry, byOrder) IN(table, model, desc) RE(table, where, desc) UP(table, model, where, desc) QUERY(sql, where, order, desc) FIRST(sql, where, order, desc) QM(table, fields, where, order, desc) QF(table, fields, where, order, desc) COUNT(table, where, desc) PAGE(table, where, order, size, offset, desc) TERM(param) MAX(table, field, where, desc) SUM(table, field, where, desc) TNR(table, field, where, as, desc) { JOIN(tableOne, tableTwo, fieldOne, fieldTwo, guide, where, order, pageSize, offset, desc)
AN(
table: string,
model: Record<string | number | symbol, any> | string,
where = null,
desc: string
)
AS(
table: string,
model: Record<string | number | symbol, any> | string,
where = null,
desc: string
)