UNPKG
@synatic/noql
Version:
latest (5.1.0)
5.1.0
5.0.3
5.0.2
5.0.1
5.0.0
4.2.10
4.2.5
4.2.4
4.2.3
4.2.2
4.1.20
4.1.19
4.1.18
4.1.17
4.1.16
4.1.15
4.1.14
4.1.13
4.1.12
4.1.11
4.1.10
4.1.9
4.1.8
4.1.7
4.1.6
4.1.5
4.1.3
4.1.2
4.1.1
4.0.2
4.0.0
3.0.3
3.0.0
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.8
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
Convert SQL statements to mongo queries or aggregates
noql.synatic.dev
synatic/noql
@synatic/noql
/
lib
/
errors
/
table-does-not-exist-error.js
12 lines
(11 loc)
•
320 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
class
TableDoesNotExistError
extends
Error
{
/** *
@param
{
string
}
tableName
*
@param
{
string
}
statement
*/
constructor
(
tableName, statement
) {
const
message =
`Table "
${tableName}
" does not exist.\n
${statement}
`
;
super
(message); } }
module
.
exports
= {
TableDoesNotExistError
};