mirror of
https://github.com/knex/knex.git
synced 2025-07-07 09:01:19 +00:00
16 lines
348 B
JavaScript
16 lines
348 B
JavaScript
![]() |
/* eslint max-len: 0 */
|
||
|
|
||
|
const ViewCompiler = require('../../../schema/viewcompiler.js');
|
||
|
|
||
|
class ViewCompiler_MySQL extends ViewCompiler {
|
||
|
constructor(client, viewCompiler) {
|
||
|
super(client, viewCompiler);
|
||
|
}
|
||
|
|
||
|
createOrReplace() {
|
||
|
this.createQuery(this.columns, this.selectQuery, false, true);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = ViewCompiler_MySQL;
|