Constructors
constructor
-
Type parameters
Parameters
Properties
Private _batchEntitySet
Private _client
Private _collection
_collection: string
Methods
Private _checkError
- _checkError(res: any): void
-
Parameters
Returns void
Private _getResultSingle
-
Parameters
Returns any
Private _getResults
-
Parameters
Returns any
action
- action(actionName: string, id: any, payload?: any): any
-
Parameters
-
actionName: string
-
id: any
-
Optional payload: any
Returns any
batch
-
count
- count(filter?: ODataFilter<any>): Promise<number>
- count(filter?: Partial<T>): Promise<number>
-
Parameters
Returns Promise<number>
-
Parameters
-
Optional filter: Partial<T>
Returns Promise<number>
create
- create(body: DeepPartial<T>): Promise<T>
- create(body: any): Promise<T>
-
Parameters
Returns Promise<T>
-
Parameters
Returns Promise<T>
delete
- delete(id: any): Promise<void>
-
Parameters
Returns Promise<void>
find
-
Parameters
Returns Promise<T[]>
function
- function(functionName: string, id: any, payload?: any): any
-
Parameters
-
functionName: string
-
id: any
-
Optional payload: any
Returns any
newFilter
-
newParam
-
query
-
Parameters
Returns Promise<T[]>
-
Parameters
Returns Promise<T[]>
retrieve
-
Parameters
Returns Promise<T>
update
-
Parameters
Returns Promise<void>
run bounded action