apartmentex v0.2.3 Apartmentex

Summary

Functions

Functions

all(repo, queryable, tenant, opts \\ [])
delete(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.delete/4.

delete!(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.delete!/4.

delete_all(repo, queryable, tenant, opts \\ [])

Implementation for Apartmentex.delete_all/4

drop_tenant(repo, tenant)

See Apartmentex.TenantActions.drop_tenant/2.

get(repo, queryable, id, tenant, opts \\ [])

Implementation for Apartmentex.get/5

get!(repo, queryable, id, tenant, opts \\ [])

Implementation for Apartmentex.get!/5

get_by(repo, queryable, clauses, tenant, opts \\ [])
get_by!(repo, queryable, clauses, tenant, opts \\ [])
insert(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.insert/4.

insert!(repo, model_or_changeset, tenant, opts \\ [])
insert_or_update(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.insert_or_update/4.

insert_or_update!(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.insert_or_update!/4.

migrate_tenant(repo, tenant)

See Apartmentex.TenantActions.migrate_tenant/2.

migrate_tenant(repo, tenant, direction)

See Apartmentex.TenantActions.migrate_tenant/3.

migrate_tenant(repo, tenant, direction, opts)

See Apartmentex.TenantActions.migrate_tenant/4.

new_tenant(repo, tenant)

See Apartmentex.TenantActions.new_tenant/2.

one(repo, queryable, tenant, opts \\ [])

Implementation for Apartmentex.one/4

one!(repo, queryable, tenant, opts \\ [])

Implementation for Apartmentex.one!/4

update(repo, model_or_changeset, tenant, opts \\ [])

Implementation for Apartmentex.update!/4.

update!(repo, model_or_changeset, tenant, opts \\ [])
update_all(repo, queryable, updates, tenant, opts \\ [])

Runtime callback for Apartmentex.update_all/5