AshSqlite.DataLayer.Info (ash_sqlite v0.2.5)

View Source

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

base_filter_sql(resource)

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

custom_indexes(resource)

The configured custom_indexes for a resource

custom_statements(resource)

The configured custom_statements for a resource

exclusion_constraint_names(resource)

The configured exclusion_constraint_names

foreign_key_names(resource)

The configured foreign_key_names

global_upsert_keys(resource)

A list of keys to always include in upserts.

identity_index_names(resource)

The configured identity_index_names

migrate?(resource)

Whether or not the resource should be included when generating migrations

migration_defaults(resource)

A keyword list of customized migration defaults

migration_ignore_attributes(resource)

A list of attributes to be ignored when generating migrations

migration_types(resource)

A keyword list of customized migration types

polymorphic?(resource)

The configured polymorphic? for a resource

polymorphic_name(resource)

The configured polymorphic_reference_name for a resource

polymorphic_on_delete(resource)

The configured polymorphic_reference_on_delete for a resource

polymorphic_on_update(resource)

The configured polymorphic_reference_on_update for a resource

reference(resource, relationship)

The configured reference for a given relationship of a resource

references(resource)

The configured references for a resource

repo(resource)

The configured repo for a resource

skip_identities(resource)

Identities not to include in the migrations

skip_unique_indexes(resource)

Skip generating unique indexes when generating migrations

table(resource)

The configured table for a resource

unique_index_names(resource)

The configured unique_index_names