MnemosyneEcto.Queries.IngestionQueries (mnemosyne_ecto v0.2.0)

Copy Markdown View Source

Ecto query builders for durable source ingestion records.

Summary

Functions

Filters ingestion records by tenant, repository, and source.

Returns the {table_name, schema} source tuple for ingestion records.

Functions

for_source(state, source_id)

@spec for_source(map(), String.t()) :: Ecto.Query.t()

Filters ingestion records by tenant, repository, and source.

source(map)

@spec source(map()) :: {String.t(), module()}

Returns the {table_name, schema} source tuple for ingestion records.