View Source AshSqlite.DataLayer.Info (ash_sqlite v0.2.1)

Introspection functions for

Summary

Functions

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

The configured custom_indexes for a resource

The configured custom_statements for a resource

The configured exclusion_constraint_names

The configured foreign_key_names

A list of keys to always include in upserts.

The configured identity_index_names

Whether or not the resource should be included when generating migrations

A keyword list of customized migration defaults

A list of attributes to be ignored when generating migrations

A keyword list of customized migration types

The configured polymorphic? for a resource

The configured polymorphic_reference_name for a resource

The configured polymorphic_reference_on_delete for a resource

The configured polymorphic_reference_on_update for a resource

The configured reference for a given relationship of a resource

The configured references for a resource

The configured repo for a resource

Identities not to include in the migrations

Skip generating unique indexes when generating migrations

The configured table for a resource

The configured unique_index_names

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

Link to this function

custom_indexes(resource)

View Source

The configured custom_indexes for a resource

Link to this function

custom_statements(resource)

View Source

The configured custom_statements for a resource

Link to this function

exclusion_constraint_names(resource)

View Source

The configured exclusion_constraint_names

Link to this function

foreign_key_names(resource)

View Source

The configured foreign_key_names

Link to this function

global_upsert_keys(resource)

View Source

A list of keys to always include in upserts.

Link to this function

identity_index_names(resource)

View Source

The configured identity_index_names

Whether or not the resource should be included when generating migrations

Link to this function

migration_defaults(resource)

View Source

A keyword list of customized migration defaults

Link to this function

migration_ignore_attributes(resource)

View Source

A list of attributes to be ignored when generating migrations

Link to this function

migration_types(resource)

View Source

A keyword list of customized migration types

The configured polymorphic? for a resource

Link to this function

polymorphic_name(resource)

View Source

The configured polymorphic_reference_name for a resource

Link to this function

polymorphic_on_delete(resource)

View Source

The configured polymorphic_reference_on_delete for a resource

Link to this function

polymorphic_on_update(resource)

View Source

The configured polymorphic_reference_on_update for a resource

Link to this function

reference(resource, relationship)

View Source

The configured reference for a given relationship of a resource

The configured references for a resource

The configured repo for a resource

Link to this function

skip_identities(resource)

View Source

Identities not to include in the migrations

Link to this function

skip_unique_indexes(resource)

View Source

Skip generating unique indexes when generating migrations

The configured table for a resource

Link to this function

unique_index_names(resource)

View Source

The configured unique_index_names