UNPKG
@sequeljs/ast
Version:
latest (0.3.13)
0.3.13
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
0.0.1
A SQL AST manager for JavaScript
sequel.js.org
sequeljs/ast
@sequeljs/ast
/
src
/
nodes
/
Count.ts
10 lines
(7 loc)
•
229 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
SQLFunction
from
'./SQLFunction'
export
default
class
Count
extends
SQLFunction
{
constructor
(
expr
:
any
,
distinct
:
boolean
|
null
=
false
,
aliaz
:
any
=
null
) {
super
(expr, aliaz)
this
.
distinct
= distinct } }