Remove unused orm function
This commit is contained in:
@@ -104,21 +104,6 @@ class From {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @template {Col} Select
|
|
||||||
* @param {string} what
|
|
||||||
* @param {Select} col
|
|
||||||
*/
|
|
||||||
pluckAs(what, col) {
|
|
||||||
/** @type {Pluck<Table, Select>} */
|
|
||||||
// @ts-ignore
|
|
||||||
const r = this
|
|
||||||
r.cols = [`${what} AS ${col}`]
|
|
||||||
this.makeColsSafe = false
|
|
||||||
r.isPluck = true
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} sql
|
* @param {string} sql
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user