MCPcopy
hub / github.com/sequelize/sequelize / ABSTRACT

Class ABSTRACT

lib/deferrable.js:5–17  ·  lib/deferrable.js::ABSTRACT

Source from the content-addressed store, hash-verified

3const { classToInvokable } = require(class="st">'./utils');
4
5class ABSTRACT {
6 static toString(...args) {
7 return new this().toString(...args);
8 }
9
10 toString(...args) {
11 return this.toSql(...args);
12 }
13
14 toSql() {
15 throw new Error(class="st">'toSql implementation missing');
16 }
17}
18
19class INITIALLY_DEFERRED extends ABSTRACT {
20 toSql() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected