Skip to content

Commit

Permalink
type definitions for TableQuery class
Browse files Browse the repository at this point in the history
  • Loading branch information
anti.veeranna committed Sep 3, 2013
1 parent bb1a9d6 commit 8436b3f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions node-azure/azure.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -361,4 +370,4 @@ declare module "azure" {
//#endregion

export function isEmulated(): boolean;
}
}

0 comments on commit 8436b3f

Please sign in to comment.