Path: redb/redb.Core/Models/SchemeWithJson.cs
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Models/SchemeWithJson.cs
----
using System;
namespace redb.Core.Models
{
///
/// Model for optimized SQL query result
/// Contains scheme_id and object JSON data in one query
///
public class SchemeWithJson
{
///
/// Object scheme ID
///
public long SchemeId { get; set; }
///
/// Object JSON data (result of get_object_json)
///
public string JsonData { get; set; } = string.Empty;
}
///
/// Model for SQL query result when loading object children
/// Contains object_id, scheme_id and JSON data in one query
///
public class ChildObjectInfo
{
///
/// Object ID
///
public long ObjectId { get; set; }
///
/// Object scheme ID
///
public long SchemeId { get; set; }
///
/// Object JSON data (result of get_object_json)
///
public string JsonData { get; set; } = string.Empty;
}
}