19 years agoFixed prefetch bug and added a test for it (spotted by Purge)
Matt S Trout [Fri, 23 Sep 2005 16:48:37 +0000]
Fixed prefetch bug and added a test for it (spotted by Purge)

19 years agoMore fixes to HasA/BelongsTo courtesy of abraxxa
Matt S Trout [Fri, 23 Sep 2005 14:59:58 +0000]
More fixes to HasA/BelongsTo courtesy of abraxxa

19 years agoTweaks to $obj->update and relationship helpers
Matt S Trout [Fri, 23 Sep 2005 13:08:47 +0000]
Tweaks to $obj->update and relationship helpers

19 years agoError message fix (cheers Siracusa), CDBICompat count_all fix (cheers Numa)
Matt S Trout [Tue, 20 Sep 2005 06:46:39 +0000]
Error message fix (cheers Siracusa), CDBICompat count_all fix (cheers Numa)

19 years agoFinal commit for 0.03
Matt S Trout [Tue, 20 Sep 2005 00:43:32 +0000]
Final commit for 0.03

19 years agoMoved might_have compat back out into a CDBICompat class and documented stuff
Matt S Trout [Sun, 18 Sep 2005 17:58:03 +0000]
Moved might_have compat back out into a CDBICompat class and documented stuff

19 years agoAddition of a bunch of helper relationship methods
Matt S Trout [Sun, 18 Sep 2005 01:53:34 +0000]
Addition of a bunch of helper relationship methods

19 years agoYeah, committing the new tests would help ...
Matt S Trout [Sat, 17 Sep 2005 17:15:40 +0000]
Yeah, committing the new tests would help ...

19 years agoTest split to run against normal rels and helper rels (currently just has_one)
Matt S Trout [Sat, 17 Sep 2005 16:43:31 +0000]
Test split to run against normal rels and helper rels (currently just has_one)

19 years agoAdded quote char test, supported quoting in S::A subclass for joins
Matt S Trout [Sat, 17 Sep 2005 14:50:30 +0000]
Added quote char test, supported quoting in S::A subclass for joins

19 years agoAdded DBIC dep on Module::Find (for Schema)
Matt S Trout [Sun, 11 Sep 2005 23:20:13 +0000]
Added DBIC dep on Module::Find (for Schema)

19 years agoCorrected test plan for t/11mysql.t
Matt S Trout [Sun, 11 Sep 2005 19:21:01 +0000]
Corrected test plan for t/11mysql.t

19 years agoFixes to CDBICompat::HasMany mapping method support, with thanks to bricas
Matt S Trout [Sat, 10 Sep 2005 18:04:48 +0000]
Fixes to CDBICompat::HasMany mapping method support, with thanks to bricas

19 years agoAdded SELECT count test for prefetch
Andy Grundman [Fri, 9 Sep 2005 20:07:36 +0000]
Added SELECT count test for prefetch

19 years agoadded test for 2 relationships in the same class to the same other class
Brian Cassidy [Fri, 9 Sep 2005 15:39:36 +0000]
added test for 2 relationships in the same class to the same other class

19 years agoUpdated S::A and S::A::L version reqs
Andy Grundman [Fri, 9 Sep 2005 12:35:45 +0000]
Updated S::A and S::A::L version reqs

19 years agoMerge 'DBIx-Class-joins' into 'trunk'
Matt S Trout [Fri, 9 Sep 2005 14:47:40 +0000]
Merge 'DBIx-Class-joins' into 'trunk'

19 years agoActually updated the changes file! lookitme, andyg!
Matt S Trout [Fri, 9 Sep 2005 08:47:40 +0000]
Actually updated the changes file! lookitme, andyg!

19 years agoUpped version to 0.03 :)
Matt S Trout [Fri, 9 Sep 2005 08:43:47 +0000]
Upped version to 0.03 :)

19 years agoPorted joined count tests from Sweet
Matt S Trout [Fri, 9 Sep 2005 08:37:31 +0000]
Ported joined count tests from Sweet

19 years agoMerge 'trunk' into 'DBIx-Class-joins'
Matt S Trout [Tue, 6 Sep 2005 00:57:00 +0000]
Merge 'trunk' into 'DBIx-Class-joins'

r5575@mccoy (orig r166):  matthewt | 2005-09-05 19:57:00 +0100
- Ported Sweet pager test. Worked first time. andyg++

19 years agoHasMany now does a LEFT JOIN, added more tests
Matt S Trout [Fri, 9 Sep 2005 08:12:20 +0000]
HasMany now does a LEFT JOIN, added more tests

19 years agoMore refactoring, prefetch
Matt S Trout [Fri, 9 Sep 2005 07:34:34 +0000]
More refactoring, prefetch

19 years agoJoins work for search, some refactoring
Matt S Trout [Fri, 9 Sep 2005 05:25:57 +0000]
Joins work for search, some refactoring

19 years agoPorted Sweet pager test. Worked first time. andyg++
Matt S Trout [Mon, 5 Sep 2005 18:57:00 +0000]
Ported Sweet pager test. Worked first time. andyg++

19 years agoReverted andyg's fixes to DBI.pm, updated tests accordingly.
Andres Kievsky [Sun, 4 Sep 2005 21:24:10 +0000]
Reverted andyg's fixes to DBI.pm, updated tests accordingly.

19 years agoMerged andyg's fixes to joins and joins tests. Added -sql_type => 'xxx' option, added...
Andres Kievsky [Sun, 4 Sep 2005 20:21:22 +0000]
Merged andyg's fixes to joins and joins tests. Added -sql_type => 'xxx' option, added test.

19 years agoLobbed first cut of join code into Storage/DBI as inline S::A::L subclass
Matt S Trout [Sat, 3 Sep 2005 21:18:45 +0000]
Lobbed first cut of join code into Storage/DBI as inline S::A::L subclass

19 years agoMerge 'DBIx-Class-joins' into 'trunk'
Matt S Trout [Sat, 3 Sep 2005 20:43:56 +0000]
Merge 'DBIx-Class-joins' into 'trunk'

19 years agoMerge 'trunk' into 'DBIx-Class-joins'
Matt S Trout [Sat, 3 Sep 2005 20:38:24 +0000]
Merge 'trunk' into 'DBIx-Class-joins'

r5563@mccoy (orig r158):  andyg | 2005-08-29 20:16:19 +0100
Made pager a method on ResultSet, added rs->page(num) to page an ordinary RS, made rs->count store it's value
r5564@mccoy (orig r159):  andyg | 2005-08-30 19:49:11 +0100
Added tests for software-based limiting/paging, and a few related bug fixes

19 years agoAdded tests for software-based limiting/paging, and a few related bug fixes
Andy Grundman [Tue, 30 Aug 2005 18:49:11 +0000]
Added tests for software-based limiting/paging, and a few related bug fixes

19 years agoMade pager a method on ResultSet, added rs->page(num) to page an ordinary RS, made...
Andy Grundman [Mon, 29 Aug 2005 19:16:19 +0000]
Made pager a method on ResultSet, added rs->page(num) to page an ordinary RS, made rs->count store it's value

19 years agoCleaned up Storage::DBI to remove redundancy
Matt S Trout [Mon, 29 Aug 2005 03:51:10 +0000]
Cleaned up Storage::DBI to remove redundancy

19 years agoRefactored pagination into search method, Sweet syntax is now in Compat
Andy Grundman [Sun, 28 Aug 2005 02:19:12 +0000]
Refactored pagination into search method, Sweet syntax is now in Compat

19 years agoLazy cursor instantiation for resultsets
Matt S Trout [Sat, 27 Aug 2005 18:04:58 +0000]
Lazy cursor instantiation for resultsets

19 years agoAdded pager support, same syntax as Sweet. Also fixed a few issues with ResultSet...
Andy Grundman [Fri, 26 Aug 2005 19:27:02 +0000]
Added pager support, same syntax as Sweet.  Also fixed a few issues with ResultSet::count.  Table::count still does 2 SQL queries, we need to figure out how to fix that

19 years agoAdded support for multiple PKs in Auto if they are already defined during create()
Andy Grundman [Fri, 26 Aug 2005 04:38:11 +0000]
Added support for multiple PKs in Auto if they are already defined during create()

19 years agoFixed bug where retrieve_all ignored options such as order_by
Andy Grundman [Fri, 26 Aug 2005 01:43:30 +0000]
Fixed bug where retrieve_all ignored options such as order_by

19 years agoAdded Scalar::Util to prereq, not sure which version we need though
Andy Grundman [Wed, 24 Aug 2005 13:11:43 +0000]
Added Scalar::Util to prereq, not sure which version we need though

19 years agoAdded SQL::Abstract to prereqs
Andy Grundman [Wed, 24 Aug 2005 12:52:51 +0000]
Added SQL::Abstract to prereqs

19 years agoAdded LIMIT tests
Brian Cassidy [Fri, 19 Aug 2005 15:13:51 +0000]
Added LIMIT tests

19 years agoFixed Auto::Pg Pod so CPAN will index it properly
Andy Grundman [Sat, 13 Aug 2005 18:22:46 +0000]
Fixed Auto::Pg Pod so CPAN will index it properly

19 years agoAdded MS-SQL to Changes
Andy Grundman [Fri, 12 Aug 2005 21:56:53 +0000]
Added MS-SQL to Changes

19 years agoAdded contributor list
Andy Grundman [Fri, 12 Aug 2005 21:49:35 +0000]
Added contributor list

19 years agoPreparing for 0.02 release
Andy Grundman [Fri, 12 Aug 2005 21:35:48 +0000]
Preparing for 0.02 release

19 years agoRe-added software-based LIMIT support for non-LIMIT-supporting databases
Andy Grundman [Fri, 12 Aug 2005 21:05:02 +0000]
Re-added software-based LIMIT support for non-LIMIT-supporting databases

19 years agoCleaned up sql_maker variable
Andy Grundman [Fri, 12 Aug 2005 20:24:19 +0000]
Cleaned up sql_maker variable

19 years agoFixed sql_maker accessor to load Abstract object on demand
Andy Grundman [Fri, 12 Aug 2005 20:19:52 +0000]
Fixed sql_maker accessor to load Abstract object on demand

19 years agoAdded MySQL LIMIT tests
Andy Grundman [Fri, 12 Aug 2005 19:54:48 +0000]
Added MySQL LIMIT tests

19 years agoAdded Oracle LIMIT tests
Andy Grundman [Fri, 12 Aug 2005 19:49:06 +0000]
Added Oracle LIMIT tests

19 years agoAdded initial SQL::Abstract::Limit support and tests
Andy Grundman [Fri, 12 Aug 2005 16:40:02 +0000]
Added initial SQL::Abstract::Limit support and tests

19 years agoRefactoring, cleanup, lose unnecessary resultset/cursor objects
Matt S Trout [Fri, 12 Aug 2005 03:32:26 +0000]
Refactoring, cleanup, lose unnecessary resultset/cursor objects

19 years agoimproved docs.
Marcus Ramberg [Thu, 11 Aug 2005 22:39:16 +0000]
improved docs.

19 years agoFixes, refactoring, test additions
Matt S Trout [Wed, 10 Aug 2005 18:24:21 +0000]
Fixes, refactoring, test additions

19 years agoAdded PK::Auto::MSSQL + test
Brian Cassidy [Tue, 9 Aug 2005 15:19:15 +0000]
Added PK::Auto::MSSQL + test

19 years agoFixed user-defined sequence assignment
Andy Grundman [Tue, 9 Aug 2005 00:44:36 +0000]
Fixed user-defined sequence assignment

19 years agoAdded Oracle PK::Auto, with sequence lookup
Andy Grundman [Tue, 9 Aug 2005 00:39:36 +0000]
Added Oracle PK::Auto, with sequence lookup

19 years agoAdded sequence method to PK::Auto
Andy Grundman [Tue, 9 Aug 2005 00:37:34 +0000]
Added sequence method to PK::Auto

19 years agoUpdated main docs, altered mail address in POD for 0.01
Matt S Trout [Tue, 9 Aug 2005 00:10:01 +0000]
Updated main docs, altered mail address in POD for 0.01

19 years agoAdded Numa's count_all, removed warns from mysql and pg tests
Matt S Trout [Mon, 8 Aug 2005 23:28:16 +0000]
Added Numa's count_all, removed warns from mysql and pg tests

19 years agoFinished ripping hand-hacked abstract implementation out of core
Matt S Trout [Mon, 8 Aug 2005 22:32:17 +0000]
Finished ripping hand-hacked abstract implementation out of core

19 years agofixed pod.
Marcus Ramberg [Mon, 8 Aug 2005 21:13:03 +0000]
fixed pod.

19 years agoauto-increment for postgresql
Marcus Ramberg [Mon, 8 Aug 2005 21:12:01 +0000]
auto-increment for postgresql

19 years agoMySQL Auto-PK test added
Matt S Trout [Mon, 8 Aug 2005 20:40:13 +0000]
MySQL Auto-PK test added

19 years agoMore refactoring, created PK::Auto::MySQL
Matt S Trout [Mon, 8 Aug 2005 20:23:54 +0000]
More refactoring, created PK::Auto::MySQL

19 years ago- Swapped ordering for schema so connection class comes first. This should
Matt S Trout [Mon, 8 Aug 2005 17:33:55 +0000]
- Swapped ordering for schema so connection class comes first. This should
  allow a schema which has been composed in-place to be composed elsewhere
  as well without breakage.

19 years agoCommented out _cond_value code in InflateColumn - currently doesn't get called!
Matt S Trout [Sun, 7 Aug 2005 19:39:42 +0000]
Commented out _cond_value code in InflateColumn - currently doesn't get called!

19 years agoDon't inject self into base :)
Matt S Trout [Sun, 7 Aug 2005 18:26:52 +0000]
Don't inject self into base :)

19 years agoMore refactoring. Relationship now a virtual package
Matt S Trout [Sun, 7 Aug 2005 18:02:30 +0000]
More refactoring. Relationship now a virtual package

19 years agoCursor abstracted, delete_related added
Matt S Trout [Sun, 7 Aug 2005 01:17:29 +0000]
Cursor abstracted, delete_related added

19 years agoFixed search/count_related to use Abstract (though not for _convert yet)
Matt S Trout [Sun, 7 Aug 2005 00:52:15 +0000]
Fixed search/count_related to use Abstract (though not for _convert yet)

19 years agoI. Forgot. To. svk. add. AGAIN!
Matt S Trout [Sat, 6 Aug 2005 23:54:56 +0000]
I. Forgot. To. svk. add. AGAIN!

19 years agoFixed DBICTest Schema class names, added class_resolver system to make them work
Matt S Trout [Sat, 6 Aug 2005 23:52:54 +0000]
Fixed DBICTest Schema class names, added class_resolver system to make them work

19 years agoMerged dkubb's Module::Find code into Schema->load_classes
Matt S Trout [Sat, 6 Aug 2005 23:17:03 +0000]
Merged dkubb's Module::Find code into Schema->load_classes

19 years agoRenamed DBIx::Class::Table::in_database to DBIx::Class::Table::in_storage
Dan Kubb [Sat, 6 Aug 2005 22:15:21 +0000]
Renamed DBIx::Class::Table::in_database to DBIx::Class::Table::in_storage
Updated affected libraries and test cases

19 years agoRenamed DBIx::Class::PK's retrieve() as find()
Dan Kubb [Sat, 6 Aug 2005 22:04:34 +0000]
Renamed DBIx::Class::PK's retrieve() as find()
Renamed DBIx::Class::Table's retrieve_from_sql() as search_literal()
Renamed DBIx::Class::Table's count_from_sql() as count_literal()
Removed DBIx::Class::Table->retrieve_all()
Added DBIx::Class::CDBICompat::Retrieve to account for method renaming
Updated affected test cases

19 years agomst once again forgets to 'svk add', as spotted by dkubb
Matt S Trout [Sat, 6 Aug 2005 20:22:52 +0000]
mst once again forgets to 'svk add', as spotted by dkubb

19 years agoretrieve_from_sql now uses ->search
Matt S Trout [Sat, 6 Aug 2005 19:54:38 +0000]
retrieve_from_sql now uses ->search

19 years ago- Storage/DBI.pm now uses Abstract internally
Matt S Trout [Sat, 6 Aug 2005 18:01:28 +0000]
- Storage/DBI.pm now uses Abstract internally
- Storage returns Cursors, classes return Resultsets

19 years agoCouple extra tweaks to Schema to support proposed C::M::DBIC
Matt S Trout [Thu, 4 Aug 2005 17:47:54 +0000]
Couple extra tweaks to Schema to support proposed C::M::DBIC

19 years agoRefactored Schema.pm
Matt S Trout [Thu, 4 Aug 2005 17:43:52 +0000]
Refactored Schema.pm

19 years agoSkip all inflation tests if DateTime is not available
Andy Grundman [Thu, 4 Aug 2005 16:51:46 +0000]
Skip all inflation tests if DateTime is not available

19 years agoBind values are passed into select query when no sth passed in
Dan Kubb [Thu, 4 Aug 2005 16:42:04 +0000]
Bind values are passed into select query when no sth passed in
Added use strict to DBIx::Class::Storage::DBI
Removed hack that andyg added, and simplified execute in select

19 years agoQuick synopsis to Schema system in POD
Matt S Trout [Thu, 4 Aug 2005 16:41:32 +0000]
Quick synopsis to Schema system in POD

19 years agoSchema support added, DBICTest refactored to use it
Matt S Trout [Thu, 4 Aug 2005 16:34:11 +0000]
Schema support added, DBICTest refactored to use it

19 years agoDisabled 'Use of uninitialized value in subroutine entry' warning
Andy Grundman [Thu, 4 Aug 2005 16:02:44 +0000]
Disabled 'Use of uninitialized value in subroutine entry' warning

19 years agoDoc fix for DB.pm
Matt S Trout [Thu, 4 Aug 2005 15:34:06 +0000]
Doc fix for DB.pm

19 years agoOverrode part of ContextualFetch in ImaDBI to shut up the useless warnings
Matt S Trout [Thu, 4 Aug 2005 15:09:04 +0000]
Overrode part of ContextualFetch in ImaDBI to shut up the useless warnings

19 years agoRemoved deprecated stuff from SQL.pm (cheers abraxxa)
Matt S Trout [Thu, 4 Aug 2005 14:50:48 +0000]
Removed deprecated stuff from SQL.pm (cheers abraxxa)

19 years ago_get_dbh removed
Matt S Trout [Thu, 4 Aug 2005 14:43:37 +0000]
_get_dbh removed

19 years agoMostly refactored everything to select/update/delete off storage handle
Matt S Trout [Thu, 4 Aug 2005 14:30:39 +0000]
Mostly refactored everything to select/update/delete off storage handle

19 years agoDBIx::Class is now a component loader
Matt S Trout [Thu, 4 Aug 2005 04:53:29 +0000]
DBIx::Class is now a component loader

19 years agoAdded tests for insert_or_update, moved Auto test to own file
Andy Grundman [Wed, 3 Aug 2005 14:17:45 +0000]
Added tests for insert_or_update, moved Auto test to own file

19 years agoAdded tests for set_from_related, update_from_related, find_or_create_related, delete...
Andy Grundman [Tue, 2 Aug 2005 23:44:20 +0000]
Added tests for set_from_related, update_from_related, find_or_create_related, delete_related

19 years agoVery very brief doc stubs for main package, DB.pm and Table.pm
Matt S Trout [Tue, 2 Aug 2005 19:34:12 +0000]
Very very brief doc stubs for main package, DB.pm and Table.pm

19 years agoFixed failing PK test (by loading PK plugins :)
Matt S Trout [Tue, 2 Aug 2005 19:10:27 +0000]
Fixed failing PK test (by loading PK plugins :)

19 years agoFinish any active sth's in DESTROY
Andy Grundman [Tue, 2 Aug 2005 18:18:38 +0000]
Finish any active sth's in DESTROY

19 years agoRemoved finish in Cursor::next, not necessary because the sth is already at the end...
Andy Grundman [Tue, 2 Aug 2005 17:48:44 +0000]
Removed finish in Cursor::next, not necessary because the sth is already at the end of the rows

19 years agoRemoved apparently unnecessary finish statements
Andy Grundman [Tue, 2 Aug 2005 17:43:15 +0000]
Removed apparently unnecessary finish statements

19 years agoSet to 21 tests instead of 20
Andy Grundman [Tue, 2 Aug 2005 17:22:19 +0000]
Set to 21 tests instead of 20