Skip to content

class Athena::ORM::Platforms::MySQLMetadataProvider
inherits Reference #

The metadata provider of AORM::Platforms::MySQL and AORM::Platforms::Maria, reading the database the connection uses.

Included modules

Athena::ORM::Schema::Metadata::MetadataProviderInterface

Constructors#

.new(connection : AORM::Connection)#

Raises if the connection doesn't use a database.

View source

Methods#

#all_table_names : Array(AORM::Schema::Metadata::TableMetadataRow)#

Returns the tables of the database, ordered by their schema and name on platforms that support ordering them.

View source