ash_postgres v0.37.2 API Reference

Modules

A postgres extension library for Ash.

Contains configuration for database check constraints

A postgres data layer that levereges Ecto's postgres capabilities.

A function that maps to ecto's fragment function

A function that maps to ecto's type function

Utilities for use in migrations

Generates migrations based on resource snapshots

Helpers used to manage multitenancy

Contains configuration for a database reference

Resources that use the AshPostgres data layer use a Repo to access the database.

Ensures that there is a table configured or the resource is polymorphic

Verifies that the repo is configured correctly

Mix Tasks

Create the storage for repos in all resources for the given (or configured) apis.

Drop the storage for the given repository.

Generates migrations, and stores a snapshot of your resources.

Runs the pending migrations for the given repository.