NAME

DBIx::QuickORM::Dialect::MySQL::MariaDB - MariaDB variant of the MySQL dialect.

DESCRIPTION

Vendor-specific subclass of DBIx::QuickORM::Dialect::MySQL for MariaDB servers. MariaDB supports RETURNING on insert and delete but not on update, and init refuses to attach to a server that does not identify as MariaDB.

SYNOPSIS

my $dialect = DBIx::QuickORM::Dialect::MySQL::MariaDB->new(dbh => $dbh, db_name => $name);

PUBLIC METHODS

$name = $dialect->dialect_name

Returns 'MySQL::MariaDB'.

$bool = $dialect->supports_returning_update
$bool = $dialect->supports_returning_insert
$bool = $dialect->supports_returning_delete

RETURNING support flags: supported for insert and delete, not for update.

$dialect->init

Validates the connection and refuses a server that does not identify as MariaDB.

SOURCE

The source code repository for DBIx::QuickORM can be found at https://github.com/exodist/DBIx-QuickORM.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See https://dev.perl.org/licenses/