Recordclass
An immutable snapshot of a record. Updates return a new snapshot; keep the returned record for subsequent changes. Concurrent edits fail with status 409 rather than overwriting data.
Methods5
Showing 5 methods
public System.Threading.Tasks.Task Delete()
Delete this revision as its owner or a moderator. A stale revision fails with status 409.
Task—public T Deserialize()
Deserialize a JSON payload. Invalid JSON or an incompatible type throws.
T—public System.Threading.Tasks.Task`1<Sandbox.Services.Database.Record> MakePrivate()
Allow only you to read your record, preserving its value. Returns a new snapshot with the new revision.
No results match this filter.
Properties9
Showing 9 properties
public System.DateTimeOffset Sandbox.Services.Database.Record.CreatedAt { get; set; }
When this record was created.
DateTimeOffset—public string Sandbox.Services.Database.Record.Group { get; set; }
The group containing this record, or null for an ungrouped record.
string—public long Sandbox.Services.Database.Record.Id { get; set; }
The stable ID of this record.
long—public bool Sandbox.Services.Database.Record.IsPublic { get; set; }
Whether anyone can read this record.
bool—public string Sandbox.Services.Database.Record.Key { get; set; }
The record key, unique within its owner's package and table.
string—public long Sandbox.Services.Database.Record.OwnerSteamId { get; set; }
The Steam ID of the player who owns this record.
long—public string Sandbox.Services.Database.Record.Revision { get; set; }
The revision captured when this snapshot was fetched, used to detect conflicting edits.
string—No results match this filter.