NAME
DBIx::QuickORM::Role::SQLBuilder - Role for SQL statement builders.
DESCRIPTION
Interface implemented by SQL builders that turn ORM sources, field lists, and where-clauses into statement/bind pairs. Consumers provide the per-statement builders; this role supplies a helper for building a row's primary-key where-clause.
SYNOPSIS
package My::SQLBuilder;
use Role::Tiny::With;
with 'DBIx::QuickORM::Role::SQLBuilder';
sub qorm_select { ... }
# ...and the other required methods
REQUIRED METHODS
Consumers must provide qorm_select, qorm_insert, qorm_update, qorm_delete, qorm_where, qorm_and, and qorm_or.
PUBLIC METHODS
- $where = $builder->qorm_where_for_row($row)
-
Return a where-clause (the row's primary-key hashref) that uniquely identifies the given row.
SOURCE
The source code repository for DBIx::QuickORM can be found at https://github.com/exodist/DBIx-QuickORM.
MAINTAINERS
AUTHORS
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.