Open
Description
I am not sure how to get Type Definition file. Here is one type definition, which is not published on npm. And there is and inconsistent type definition in definitely typed repo.
In this repo
interface DeleteStatement extends Statement {
from(...tbls: string[]): DeleteStatement
using(...columnList: string[]): DeleteStatement
using(columnList: string[]): DeleteStatement
where(column?: string | null, value?: any): DeleteStatement
where(...whereExpr: WhereExp
565A
ression[]): DeleteStatement
and(column?: string | null, value?: any): DeleteStatement
and(...whereExpr: WhereExpression[]): DeleteStatement
}
here is the code from DefinitelyTyped
interface DeleteStatement extends Statement {
from(...tbls: string[]): DeleteStatement
using(...columnList: string[]): SelectStatement
using(columnList: string[]): SelectStatement
where(column?: string | null, value?: any): SelectStatement
where(...whereExpr: WhereExpression[]): SelectStatement
and(column?: string | null, value?: any): SelectStatement
and(...whereExpr: WhereExpression[]): SelectStatement
}
Metadata
Metadata
Assignees
Labels
No labels