| DBIx-SQLEngine documentation | Contained in the DBIx-SQLEngine distribution. |
DBIx::SQLEngine::Driver::Trait::NoLimit - For databases without select limit
# Classes can import this behavior if they don't have limit use DBIx::SQLEngine::Driver::Trait::NoLimit ':all';
This package works with DBD drivers which are implemented in Perl using SQL::Statement. It combines several other traits and methods which can be shared by most such drivers.
You do not need to use this package directly; it is used internally by those driver subclasses which need it.
For more information about Driver Traits, see "About Driver Traits" in DBIx::SQLEngine::Driver.
The following methods are provided:
$sqldb->sql_limit( $limit, $offset, $sql, @params ) : $sql, @params
Not supported.
See DBIx::SQLEngine for the overall interface and developer documentation.
See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.
See DBIx::Sequence for another version of the sequence-table functionality, which greatly inspired this module.
| DBIx-SQLEngine documentation | Contained in the DBIx-SQLEngine distribution. |
######################################################################## package DBIx::SQLEngine::Driver::Trait::NoLimit; use strict; use Carp; use vars qw( @EXPORT_OK %EXPORT_TAGS ); ######################################################################## use Exporter; sub import { goto &Exporter::import } @EXPORT_OK = ( qw( sql_limit ), ); %EXPORT_TAGS = ( all => \@EXPORT_OK ); ########################################################################
########################################################################
sub sql_limit { my $self = shift; my ( $limit, $offset, $sql, @params ) = @_; return ($sql, @params); } ########################################################################
######################################################################## 1;