ReadonlynameTable name
ReadonlysupportsWhether this backend can auto-generate primary key values when none are
supplied in a POST request. Defaults to false; override in subclasses
that support server-side key generation (e.g. UUID on insert).
Coerce a single data value into a form that can safely be passed to the datasource as a
bind parameter (as opposed to printCellAsValue, which formats it as an inline SQL literal).
The default implementation returns the value unchanged. SQL datasources override this to
apply driver-specific coercions (e.g. converting Date/boolean for drivers that only
accept primitive bind types). Non-SQL datasources (blob, nosql) can ignore it.
data value to bind
native type name for the table column
Initialise the Azure SDK table client. Does not perform any network call.
Delete an entity.
[partitionKey, rowKey]
Release the client reference.
Fetch a single entity by its primary key values.
[partitionKey, rowKey]
Attach a static OINONoSqlDataModel to the given API, adding all five
standard fields.
the OINONoSqlApi whose data model is to be initialised
List entities from the table, applying native OData filtering for
partitionKey, rowKey, and timestamp predicates server-side, and
performing in-memory evaluation for the remaining predicates.
Optionalfilter: OINOQueryFilteroptional query filter to apply
Parse a single SQL result value for serialization using the context of the native data type.
native type name for table column
Print a single data value from serialization using the context of the native data type with the correct SQL escaping.
data from sql results
native type name for table column
Print a column name with correct datasource specific formatting.
name of the column
Print a single string value as valid sql literal
Batch-upsert using Azure Table Storage transactions. Each transaction is limited to 100 entities that share the same partition key, and Azure additionally requires every entity in a transaction to have a distinct row key ("An entity can appear only once in a batch request"). Entries are therefore grouped by partition key and deduplicated by row key — later entries replace earlier ones (last-write-wins, matching the upsert-Replace semantics) — before being chunked to satisfy the limit.
Upsert (insert or replace) an entity.
All fields in entry.properties are written as top-level entity
properties in Azure Table Storage.
entity to upsert
Verify that the target table exists and is accessible.
StaticfilterAttempt to translate an OINOQueryFilter tree to an Azure Table Storage
OData v3 filter expression string.
Returns undefined for sub-trees that contain untranslatable predicates
(e.g. filter on etag, or a like comparison). The caller falls back
to in-memory evaluation for those cases.
filter to translate
Azure Table Storage implementation of
OINONoSql.Authenticates using either an Azure Storage connection string or a table service endpoint URL combined with a managed identity client id. Connection parameters map as:
credentials.url→ table service endpoint, e.g.https://<account>.table.core.windows.netcredentials.connectionStr→ Azure Storage connection string (e.g.DefaultEndpointsProtocol=https;AccountName=...)credentials.clientId→ (optional) managed identity client id used withcredentials.urlparams.table→ table nameRegister and use via the factory with a connection string:
Or with a service endpoint URL and a managed identity client id:
Static partition key
Set
staticPartitionKeyin the params to scope all operations to a fixed partition key. This lets multiple logical tables share one physical Azure Table Storage table:Filter support
Filters on
partitionKey,rowKey, andtimestampare translated to native Azure Table Storage OData query filter expressions and evaluated server-side. Filters onetagare evaluated in-memory after the listing.OData operators supported:
eq,ne,lt,le,gt,ge,and,or,not. Thelikeoperator is not supported by OData and is evaluated in-memory.