Encapsulate SQL queries and rows in simple perl objects

Edit Package perl-DBIx-SearchBuilder
http://search.cpan.org/perldoc?DBIx::SearchBuilder

This module provides an object-oriented mechanism for retrieving and updating data in a DBI-accesible database.

In order to use this module, you should create a subclass of DBIx::SearchBuilder and a subclass of DBIx::SearchBuilder::Record for each table that you wish to access. (See the documentation of DBIx::SearchBuilder::Record for more information on subclassing it.)

Your DBIx::SearchBuilder subclass must override NewItem, and probably should override at least _Init also; at the very least, _Init should probably call _Handle and _Table to set the database handle (a DBIx::SearchBuilder::Handle object) and table name for the class. You can try to override just about every other method here, as long as you think you know what you are doing.

Refresh
Refresh
Source Files
Filename Size Changed
DBIx-SearchBuilder-1.74.tar.gz 0000121948 119 KB
cpanspec.yml 0000000669 669 Bytes
perl-DBIx-SearchBuilder.changes 0000006491 6.34 KB
perl-DBIx-SearchBuilder.spec 0000003112 3.04 KB
Revision 18 (latest revision is 26)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 1042457 from Tina Müller's avatar Tina Müller (tinita) (revision 18)
- updated to 1.74
   see /usr/share/doc/packages/perl-DBIx-SearchBuilder/Changes
  1.74 2022-12-12
   - Explicitly require version to make cpantesters happy
   - Require perl 5.10.1+ to not support derelict versions
  1.73 2022-12-08
   - Remove very old CVS headers from files
   - Standardize whitespace
   - Remove an unused cache parameter remaining from a previous refactor
   - Update a test to work around a change in numeric values returned on
     Postgres starting in version 14
   - Fix a doc typo
   - Fix a bind value issue with Limit on Postgres
   - Disable finding count in searches for older versions of MySQL and
     MariaDB that don't support window functions (OVER)
   - Truncate values before checking for changes to fix a bug where
     values bigger than a column would be inserted even when they were
     not changed
  1.72_01 2022-09-20
   - Simplify count's internal logic to always use the "count_all" key
   - Fix Count method to always returns count in selected page
   - Support search and count in same query
   - Redo search only if ORDER/GROUP BY is really updated
   - Add bind values support for LIMIT clauses
Comments 0
openSUSE Build Service is sponsored by