AshSqlite.DataLayer (ash_sqlite v0.3.1)

Copy Markdown View Source

A sqlite data layer that leverages Ecto's sqlite capabilities.

Summary

Functions

A no-op on the query. Each tenant has its own database file, so the tenant is applied by choosing the connection rather than by changing the query. The repo's AshSqlite.Repo.tenant_repo/2 chooses it, once per statement.

Functions

add_known_binding(query, data, known_binding)

codegen(args)

from_ecto(other)

install(igniter, _, _, _)

install(igniter, module, arg, path, argv)

migrate(args)

rollback(args)

set_tenant(resource, query, tenant)

A no-op on the query. Each tenant has its own database file, so the tenant is applied by choosing the connection rather than by changing the query. The repo's AshSqlite.Repo.tenant_repo/2 chooses it, once per statement.

setup(args)

sqlite(body)

(macro)

tear_down(args)

to_ecto(value)