Skip to content

class Athena::ORM::Platforms::Maria
inherits Athena::ORM::Platforms::AbstractMySQL #

Base platform for MariaDB.

Database-generated identifiers are read back with INSERT ... RETURNING.

Methods#

#supports_returning? : Bool#

Returns true if INSERT statements can return values of the inserted row via a RETURNING clause.

Database-generated identifiers are read from that clause when supported, and from the driver's last insert id otherwise. Only the latter is limited to a single identifier column.

View source