Ecto query builders for the node metadata table (engine-agnostic).
Summary
Functions
Base query scoped to the current tenant.
Filters the query to only include rows matching the given node IDs.
Returns the {table_name, schema} source tuple for the metadata table.
Functions
@spec base(map()) :: Ecto.Query.t()
Base query scoped to the current tenant.
@spec by_node_ids(Ecto.Query.t(), [String.t()]) :: Ecto.Query.t()
Filters the query to only include rows matching the given node IDs.
Returns the {table_name, schema} source tuple for the metadata table.