mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #986 from antiveeranna/master
type definitions for TableQuery class
This commit is contained in:
Vendored
+11
-2
@@ -184,7 +184,16 @@ declare module "azure" {
|
||||
}
|
||||
|
||||
export class TableQuery {
|
||||
|
||||
static select(...fields: string[]): TableQuery;
|
||||
from(table: string): TableQuery;
|
||||
whereKeys(partitionKey: string, rowKey: string): TableQuery;
|
||||
whereNextKeys(partitionKey: string, rowKey: string): TableQuery;
|
||||
where(condition: string, ...values: string[]): TableQuery;
|
||||
and(condition: string, ...arguments: string[]): TableQuery;
|
||||
or(condition: string, ...arguments: string[]): TableQuery;
|
||||
top(integer): TableQuery;
|
||||
toQueryObject(): any;
|
||||
toPath(): string;
|
||||
}
|
||||
|
||||
export class BatchServiceClient extends StorageServiceClient {
|
||||
@@ -361,4 +370,4 @@ declare module "azure" {
|
||||
//#endregion
|
||||
|
||||
export function isEmulated(): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user