Methods
Static exec
exec( conn: ConnectionPool , sql: string , tran?: MssqlTransaction ) : Promise < boolean >
Parameters
conn: ConnectionPool
sql: string
Optional tran: MssqlTransaction
Returns Promise < boolean >
Promise对象
Static execs
execs( conn: ConnectionPool , sqls: string [] ) : Promise < __type [] >
Parameters
conn: ConnectionPool
sqls: string []
Returns Promise < __type [] >
Promise对象
Static execsSeq
execsSeq( conn: ConnectionPool , sqls: string [] , tran?: MssqlTransaction ) : Promise < void >
Parameters
conn: ConnectionPool
sqls: string []
Optional tran: MssqlTransaction
Returns Promise < void >
Promise对象
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
执行SQL
Exec