mirror of
https://github.com/knex/knex.git
synced 2025-07-04 23:50:32 +00:00
34 lines
752 B
JavaScript
34 lines
752 B
JavaScript
![]() |
const QueryBuilder = require('../../../query/querybuilder.js');
|
||
|
|
||
|
module.exports = class QueryBuilder_SQLite3 extends QueryBuilder {
|
||
|
withMaterialized(alias, statementOrColumnList, nothingOrStatement) {
|
||
|
this._validateWithArgs(
|
||
|
alias,
|
||
|
statementOrColumnList,
|
||
|
nothingOrStatement,
|
||
|
'with'
|
||
|
);
|
||
|
return this.withWrapped(
|
||
|
alias,
|
||
|
statementOrColumnList,
|
||
|
nothingOrStatement,
|
||
|
true
|
||
|
);
|
||
|
}
|
||
|
|
||
|
withNotMaterialized(alias, statementOrColumnList, nothingOrStatement) {
|
||
|
this._validateWithArgs(
|
||
|
alias,
|
||
|
statementOrColumnList,
|
||
|
nothingOrStatement,
|
||
|
'with'
|
||
|
);
|
||
|
return this.withWrapped(
|
||
|
alias,
|
||
|
statementOrColumnList,
|
||
|
nothingOrStatement,
|
||
|
false
|
||
|
);
|
||
|
}
|
||
|
};
|