View Source SchemaAssertions.Schema (Schema Assertions v0.2.2)
Ecto schema introspection
Link to this section Summary
Functions
Returns true if the given module has a belongs_to relationship
Returns true if the given module is an Ecto schema
Returns :ok if the schema has a has_many relationship
Returns :ok if the schema has a has_one relationship
Returns true if the given module exists
Returns the database table name for the given module
Link to this section Functions
Specs
Returns true if the given module has a belongs_to relationship
Specs
Returns true if the given module is an Ecto schema
Specs
Returns :ok if the schema has a has_many relationship
Specs
Returns :ok if the schema has a has_one relationship
Specs
Returns true if the given module exists
Specs
Returns the database table name for the given module