Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8025689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:14:42+00:00 2026-06-04T23:14:42+00:00

Hello I am using the Windows Azure SDK for node but can’t figure out

  • 0

Hello I am using the Windows Azure SDK for node but can’t figure out how to do a batch update using this library:

https://github.com/WindowsAzure/azure-sdk-for-node/blob/master/lib/services/table/batchserviceclient.js

as I couldn’t find any examples on how to do it. Has anybody used the isInBatch property of the tableService.js file to do batch updates, deletes and inserts?

Any help or advice would be appreciated.

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:14:44+00:00Added an answer on June 4, 2026 at 11:14 pm

    In the Windows Azure SDK for node github repo, take a look at the Blog example under /examples/blog. Specifically, blog.js. Here, you’ll see sample code, starting around line 91, where a series of blog posts are written to the same partition, in an entity group transaction:

      provider.tableClient.beginBatch();
    
      var now = new Date().toString();
      provider.tableClient.insertEntity(tableName, { PartitionKey: partition, RowKey: uuid(), title: 'Post one', body: 'Body one', created_at: now });
      provider.tableClient.insertEntity(tableName, { PartitionKey: partition, RowKey: uuid(), title: 'Post two', body: 'Body two', created_at: now });
      provider.tableClient.insertEntity(tableName, { PartitionKey: partition, RowKey: uuid(), title: 'Post three', body: 'Body three', created_at: now });
      provider.tableClient.insertEntity(tableName, { PartitionKey: partition, RowKey: uuid(), title: 'Post four', body: 'Body four', created_at: now });
    
      provider.tableClient.commitBatch(function () {
        console.log('Done');
    

    Note the point about partition. This is the only way you can write multiple entities within a single transaction: They must be in the same partition.

    EDIT – As @Igorek rightly points out, a single entity group transaction is limited to 100 entities. Also, the entire payload of the transaction may not exceed 4MB. See this MSDN article for all the details around entity group transactions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I am using Code::Blocks in Windows XP. When I am running this program
Am trying out Ruby on Rails in Windows XP using the Hello World example.
I'm testing wxHaskell on Windows XP using the Hello World here: http://www.haskell.org/haskellwiki/WxHaskell/Quick_start But when
I am using System.Windows.Forms.RichTextBox and doing something like RichTextBox1.Text = Hello World; But after
I want to compile a simple hello-world-style program using the Windows command line. cl
Hello I'm using this sample in Java to try to load OpenStreetMaps Offline tiles,
Hello i am using the latest version of artoolkit, and succesfully compiled simplevrml, but
Hello I am a beginning android developer using windows and the eclipse IDE to
I'm trying to make a simple hello-world executable python gui app in windows using
I am using PHP on Windows machin. I also use Dev C++. I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.