#
Interface: Raw<TResult>#
Type parametersName | Default |
---|---|
TResult | any |
#
HierarchyEventEmitter
ChainableInterface<ResolveResult<TResult>>
↳ Raw
↳↳ Ref
#
Properties#
[Symbol.toStringTag]• Readonly
[Symbol.toStringTag]: string
Inherited from: ChainableInterface.[Symbol.toStringTag]
Defined in: node_modules/knex/types/index.d.ts:1645
#
Methods#
addListenerâ–¸ addListener(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:62
#
asCallbackâ–¸ asCallback(callback
: Function): Promise<Resolve<TResult>>
#
Parameters:Name | Type |
---|---|
callback | Function |
Returns: Promise<Resolve<TResult>>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1663
#
catchâ–¸ catch<TResult>(onrejected?
: null | (reason
: any) => TResult | PromiseLike<TResult>): Promise<Resolve<TResult> | TResult>
Attaches a callback for only the rejection of the Promise.
#
Type parameters:Name | Default |
---|---|
TResult | never |
#
Parameters:Name | Type | Description |
---|---|---|
onrejected? | null | (reason : any) => TResult | PromiseLike<TResult> | The callback to execute when the Promise is rejected. |
Returns: Promise<Resolve<TResult> | TResult>
A Promise for the completion of the callback.
Inherited from: ChainableInterface
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1460
#
connectionâ–¸ connection(connection
: any): Raw<TResult>
#
Parameters:Name | Type |
---|---|
connection | any |
Returns: Raw<TResult>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1650
#
debugâ–¸ debug(enabled
: boolean): Raw<TResult>
#
Parameters:Name | Type |
---|---|
enabled | boolean |
Returns: Raw<TResult>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1651
#
emitâ–¸ emit(event
: string | symbol, ...args
: any[]): boolean
#
Parameters:Name | Type |
---|---|
event | string | symbol |
...args | any[] |
Returns: boolean
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:72
#
eventNamesâ–¸ eventNames(): (string | symbol)[]
Returns: (string | symbol)[]
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:77
#
finallyâ–¸ finally(onfinally?
: null | () => void): Promise<Resolve<TResult>>
Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
#
Parameters:Name | Type | Description |
---|---|---|
onfinally? | null | () => void | The callback to execute when the Promise is settled (fulfilled or rejected). |
Returns: Promise<Resolve<TResult>>
A Promise for the completion of the callback.
Inherited from: ChainableInterface
Defined in: docs/node_modules/typescript/lib/lib.es2018.promise.d.ts:31
#
getMaxListenersâ–¸ getMaxListeners(): number
Returns: number
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:69
#
listenerCountâ–¸ listenerCount(event
: string | symbol): number
#
Parameters:Name | Type |
---|---|
event | string | symbol |
Returns: number
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:73
#
listenersâ–¸ listeners(event
: string | symbol): Function[]
#
Parameters:Name | Type |
---|---|
event | string | symbol |
Returns: Function[]
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:70
#
offâ–¸ off(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:66
#
onâ–¸ on(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:63
#
onceâ–¸ once(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:64
#
optionsâ–¸ options(options
: Readonly<{ [key: string]: any; }>): Raw<TResult>
#
Parameters:Name | Type |
---|---|
options | Readonly<{ [key: string]: any; }> |
Returns: Raw<TResult>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1649
#
pipeâ–¸ pipe<T>(writable
: T, options?
: Readonly<{ [key: string]: any; }>): PassThrough
#
Type parameters:Name | Type |
---|---|
T | WritableStream<T> |
#
Parameters:Name | Type |
---|---|
writable | T |
options? | Readonly<{ [key: string]: any; }> |
Returns: PassThrough
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1659
#
prependListenerâ–¸ prependListener(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:75
#
prependOnceListenerâ–¸ prependOnceListener(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:76
#
queryContextâ–¸ queryContext(context
: any): Raw<TResult>
#
Parameters:Name | Type |
---|---|
context | any |
Returns: Raw<TResult>
Defined in: node_modules/knex/types/index.d.ts:1508
â–¸ queryContext(): any
Returns: any
Defined in: node_modules/knex/types/index.d.ts:1509
#
rawListenersâ–¸ rawListeners(event
: string | symbol): Function[]
#
Parameters:Name | Type |
---|---|
event | string | symbol |
Returns: Function[]
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:71
#
removeAllListenersâ–¸ removeAllListeners(event?
: string | symbol): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event? | string | symbol |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:67
#
removeListenerâ–¸ removeListener(event
: string | symbol, listener
: (...args
: any[]) => void): Raw<TResult>
#
Parameters:Name | Type |
---|---|
event | string | symbol |
listener | (...args : any[]) => void |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:65
#
setMaxListenersâ–¸ setMaxListeners(n
: number): Raw<TResult>
#
Parameters:Name | Type |
---|---|
n | number |
Returns: Raw<TResult>
Inherited from: void
Defined in: node_modules/@types/node/events.d.ts:68
#
streamâ–¸ stream(handler
: (readable
: PassThrough) => any): Promise<any>
#
Parameters:Name | Type |
---|---|
handler | (readable : PassThrough) => any |
Returns: Promise<any>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1653
â–¸ stream(options
: Readonly<{ [key: string]: any; }>, handler
: (readable
: PassThrough) => any): Promise<any>
#
Parameters:Name | Type |
---|---|
options | Readonly<{ [key: string]: any; }> |
handler | (readable : PassThrough) => any |
Returns: Promise<any>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1654
â–¸ stream(options?
: Readonly<{ [key: string]: any; }>): PassThrough
#
Parameters:Name | Type |
---|---|
options? | Readonly<{ [key: string]: any; }> |
Returns: PassThrough
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1658
#
thenâ–¸ then<TResult1, TResult2>(onfulfilled?
: null | (value
: Resolve<TResult>) => TResult1 | PromiseLike<TResult1>, onrejected?
: null | (reason
: any) => TResult2 | PromiseLike<TResult2>): Promise<TResult1 | TResult2>
Attaches callbacks for the resolution and/or rejection of the Promise.
#
Type parameters:Name | Default |
---|---|
TResult1 | Resolve<TResult> |
TResult2 | never |
#
Parameters:Name | Type | Description |
---|---|---|
onfulfilled? | null | (value : Resolve<TResult>) => TResult1 | PromiseLike<TResult1> | The callback to execute when the Promise is resolved. |
onrejected? | null | (reason : any) => TResult2 | PromiseLike<TResult2> | The callback to execute when the Promise is rejected. |
Returns: Promise<TResult1 | TResult2>
A Promise for the completion of which ever callback is executed.
Inherited from: ChainableInterface
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1453
#
timeoutâ–¸ timeout(ms
: number, options?
: { cancel?
: boolean }): Raw<TResult>
#
Parameters:Name | Type |
---|---|
ms | number |
options? | object |
options.cancel? | boolean |
Returns: Raw<TResult>
Defined in: node_modules/knex/types/index.d.ts:1505
#
toQueryâ–¸ toQuery(): string
Returns: string
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1648
#
toSQLâ–¸ toSQL(): Sql
Returns: Sql
Defined in: node_modules/knex/types/index.d.ts:1507
#
transactingâ–¸ transacting(trx
: Transaction<any, any>): Raw<TResult>
#
Parameters:Name | Type |
---|---|
trx | Transaction<any, any> |
Returns: Raw<TResult>
Inherited from: ChainableInterface
Defined in: node_modules/knex/types/index.d.ts:1652
#
wrapâ–¸ wrap<TResult2>(before
: string, after
: string): Raw<TResult>
#
Type parameters:Name | Default |
---|---|
TResult2 | TResult |
#
Parameters:Name | Type |
---|---|
before | string |
after | string |
Returns: Raw<TResult>
Defined in: node_modules/knex/types/index.d.ts:1506