Insert, Query and Update Entities in Azure Table Storage
Beginner · 30 minutes · 4 tasks, checked automatically · 100 points
In this beginner lab you will learn the fundamentals of Azure Table Storage — a NoSQL key-value store that lets you persist structured data without a schema. Working entirely against a local Azurite emulator you will create a storage table, insert rows (entities), query them with OData filters, and update a field in place. By the end you will have a solid mental model of partition keys, row keys and entity payloads that applies directly to real Azure Table Storage.
What you’ll learn
- Create an Azure Storage table using the az CLI against the local Azurite emulator
- Insert multiple entities with partition keys and row keys into the table
- Query entities using OData filter expressions to retrieve specific rows
- Update an existing entity property and verify the change was persisted
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AZURE
- Services: table-storage
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A Azure sandbox created in the Local Cloud Playground
Topics: azure, table-storage, nosql, azurite, databases, odata, entities
Create a free account to start this lab.
Keep going
- Write, Read and Update Documents in a Firestore Collection
- BigQuery Foundations: Create, Load, and Query Data
- Getting Started with Cosmos DB: Create, Insert, and Query Documents
- Add a Global Secondary Index to a DynamoDB Table and Query It
- Prevent Lost Updates with DynamoDB Conditional Writes
- Datastore Ancestor Keys and Composite Index Queries