ash_postgres v0.23.0 AshPostgres View Source

A postgres extension library for Ash.

AshPostgres.DataLayer provides a DataLayer, and a DSL extension to configure that data layer.

The dsl extension exposes the postgres section. See: AshPostgres.DataLayer.postgres/1 for more.

Link to this section Summary

Functions

A stringified version of the base_filter, to be used in a where clause when generating unique indexes

Whether or not the resource should be included when generating migrations

The configured repo for a resource

Skip generating unique indexes when generating migrations

The configured table for a resource

Link to this section Functions

Link to this function

base_filter_sql(resource)

View Source

A stringified version of the base_filter, to be used in a where clause when generating unique indexes

Whether or not the resource should be included when generating migrations

The configured repo for a resource

Link to this function

skip_unique_indexes?(resource)

View Source

Skip generating unique indexes when generating migrations

The configured table for a resource