Creates a new instance of the TableClient class.
The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net".
the name of the table
TablesSharedKeyCredential used to authenticate requests. Only Supported for Browsers
Optional. Options to configure the HTTP pipeline.
Example using an account name/key:
const account = "<storage account name>";
const tableName = "<table name>";
const sharedKeyCredential = new TablesSharedKeyCredential(account, "<account key>");
const tableServiceClient = new TableServiceClient(
`https://${account}.table.core.windows.net`,
`${tableName}`
sharedKeyCredential
);
Creates an instance of TableClient.
The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net".
the name of the table
Optional. Options to configure the HTTP pipeline.
Example using an account name/key:
const account = "<storage account name>";
const tableName = "<table name>";
const sharedKeyCredential = new TablesSharedKeyCredential(account, "<account key>");
const tableServiceClient = new TableServiceClient(
`https://${account}.table.core.windows.net`,
`${tableName}`
sharedKeyCredential
);
Name of the table to perform operations on.
Creates the current table it it doesn't exist
The options parameters.
Creates a new Batch to collect sub-operations that can be submitted together via submitBatch
partitionKey to which the batch operations will be targetted to
Insert entity in the table.
The properties for the table entity.
The options parameters.
Permanently deletes the current table with all of its entities.
The options parameters.
Deletes the specified entity in the table.
The partition key of the entity.
The row key of the entity.
The options parameters.
Returns a single entity in the table.
The partition key of the entity.
The row key of the entity.
The options parameters.
Queries entities in a table.
The options parameters.
Update an entity in the table.
The properties of the entity to be updated.
The different modes for updating the entity: - Merge: Updates an entity by updating the entity's properties without replacing the existing entity. - Replace: Updates an existing entity by replacing the entire entity.
The options parameters.
Upsert an entity in the table.
The properties for the table entity.
The different modes for updating the entity: - Merge: Updates an entity by updating the entity's properties without replacing the existing entity. - Replace: Updates an existing entity by replacing the entire entity.
The options parameters.
Creates an instance of TableClient from connection string.
Account connection string or a SAS connection string of an Azure storage account.
[ Note - Account connection string can only be used in NODE.JS runtime. ]
Account connection string example -
DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net
SAS connection string example -
BlobEndpoint=https://myaccount.table.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString
A new TableClient from the given connection string.
Generated using TypeDoc
A TableClient represents a Client to the Azure Tables service allowing you to perform operations on a single table.