15 years agoDeal properly with () in is_same_sql_bind
Peter Rabbitson [Sun, 8 Mar 2009 22:31:51 +0000]
Deal properly with () in is_same_sql_bind

15 years agoAdd value-only insert test with a literal sql snippet
Peter Rabbitson [Sun, 8 Mar 2009 21:25:14 +0000]
Add value-only insert test with a literal sql snippet

15 years agoFailing tests by debolaz
Peter Rabbitson [Sun, 8 Mar 2009 20:50:06 +0000]
Failing tests by debolaz

15 years agoDo not version MANIFEST
Peter Rabbitson [Sun, 8 Mar 2009 09:17:06 +0000]
Do not version MANIFEST

15 years agoUpdate Changes
Peter Rabbitson [Sun, 8 Mar 2009 08:54:05 +0000]
Update Changes

15 years agoBumped version number to 1.49_04.
Norbert Buchmuller [Tue, 3 Mar 2009 21:38:32 +0000]
Bumped version number to 1.49_04.

15 years agoAdded tests and updated POD for bindtype = 'columns' case in \[$sql, @bind] when...
Norbert Buchmuller [Tue, 3 Mar 2009 21:37:11 +0000]
Added tests and updated POD for bindtype = 'columns' case in \[$sql, @bind] when column_meta is a reference in the [column_meta => value] format bind values.

15 years agoBumped version number to 1.49_03.
Norbert Buchmuller [Tue, 17 Feb 2009 19:58:31 +0000]
Bumped version number to 1.49_03.

15 years agoAdded test cases for "col => {-in => \[$sql, @bind]}" with bindtype => 'columns'.
Norbert Buchmuller [Tue, 17 Feb 2009 19:57:28 +0000]
Added test cases for "col => {-in => \[$sql, @bind]}" with bindtype => 'columns'.

15 years agoAdded documentation of the impact of bindtype on \[$sql, @bind].
Norbert Buchmuller [Tue, 17 Feb 2009 19:34:50 +0000]
Added documentation of the impact of bindtype on \[$sql, @bind].

15 years agoFixed behaviour of 'literal SQL with bind' feature (ie. \[$sql, @bind]) to expect...
Norbert Buchmuller [Tue, 17 Feb 2009 19:20:53 +0000]
Fixed behaviour of 'literal SQL with bind' feature (ie. \[$sql, @bind]) to expect @bind in the same format as returned by ->where().
Added some tests for the above feature.

15 years agoBumped revision number.
Norbert Buchmuller [Mon, 16 Feb 2009 13:18:55 +0000]
Bumped revision number.

15 years agoFixed 'use constant' statement to work on Perl 5.6.
Norbert Buchmuller [Mon, 16 Feb 2009 13:17:07 +0000]
Fixed 'use constant' statement to work on Perl 5.6.

15 years agoApplied patch from Zbigniew Lukasiak (with slight modifications) to accept "col ...
Norbert Buchmuller [Sun, 15 Feb 2009 15:39:26 +0000]
Applied patch from Zbigniew Lukasiak (with slight modifications) to accept "col => { -in => \[$sql, @bind] }".

15 years agoFormatting.
Norbert Buchmuller [Sun, 15 Feb 2009 14:33:24 +0000]
Formatting.

15 years agoFixed a bug in hashpair with literal SQL and bind value (ie. col => { op => \[$sql...
Norbert Buchmuller [Sun, 15 Feb 2009 14:33:19 +0000]
Fixed a bug in hashpair with literal SQL and bind value (ie. col => { op => \[$sql, @bind] }) when bindtype => 1.
Added tests for hashpair with literal SQL and bind value (ie. col => { op => \[$sql, @bind] }) when bindtype => 1.

15 years agoAdded test cases to test the arrayref (\[$sql, @bind]) support if @bind is empty.
Norbert Buchmuller [Wed, 11 Feb 2009 14:51:00 +0000]
Added test cases to test the arrayref (\[$sql, @bind]) support if @bind is empty.

15 years agoChanged author field in Makefile.PL to mst.
Norbert Buchmuller [Mon, 9 Feb 2009 21:39:02 +0000]
Changed author field in Makefile.PL to mst.

15 years agoAdded test for an expected warning.
Norbert Buchmuller [Mon, 9 Feb 2009 21:29:41 +0000]
Added test for an expected warning.

15 years agoA new predicate sub: eq_sql_bind
Norbert Buchmuller [Tue, 3 Feb 2009 14:57:02 +0000]
A new predicate sub: eq_sql_bind
New test subs: is_same_sql, is_same_bind
Documentation cleanup.

15 years agoPassing a hashref as bind value in insert() does not blow up, but passes the hashref...
Norbert Buchmuller [Fri, 30 Jan 2009 20:22:09 +0000]
Passing a hashref as bind value in insert() does not blow up, but passes the hashref through (like older SQLA versions did) and emits a warning. Later to be changed to die (with a helpful message).

15 years agoRemoved an unnecessary 'use'.
Norbert Buchmuller [Mon, 15 Dec 2008 21:26:44 +0000]
Removed an unnecessary 'use'.

15 years agoMerged changes from the '1.50_RC-extraparens' branch.
Norbert Buchmuller [Mon, 15 Dec 2008 21:26:39 +0000]
Merged changes from the '1.50_RC-extraparens' branch.

15 years agoAdded myself to the contributors list.
Norbert Buchmuller [Wed, 10 Dec 2008 10:30:30 +0000]
Added myself to the contributors list.

15 years agoAdded dependency to Test::Deep.
Norbert Buchmuller [Fri, 28 Nov 2008 08:30:09 +0000]
Added dependency to Test::Deep.

15 years agoReplaced eq_bind() implementation to use Test::Deep::eq_deeply().
Norbert Buchmuller [Fri, 28 Nov 2008 08:26:34 +0000]
Replaced eq_bind() implementation to use Test::Deep::eq_deeply().

16 years agoReimplemented SQL::Abstract::Test::eq_bind to compare the data structures instead...
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:33 +0000]
Reimplemented SQL::Abstract::Test::eq_bind to compare the data structures instead of stringifying them.
Added tests for eq_bind.

16 years agoUpdated svn:ignore.
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:25 +0000]
Updated svn:ignore.

16 years agoUpdated dependencies. (made a typo in previous commit)
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:22 +0000]
Updated dependencies. (made a typo in previous commit)

16 years agoUpdated dependencies.
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:18 +0000]
Updated dependencies.

16 years agoRemoved a wrong test (tested for overloaded stringification).
Norbert Buchmuller [Wed, 26 Nov 2008 22:24:43 +0000]
Removed a wrong test (tested for overloaded stringification).
Simplified a test for blessed objects.

16 years agoAdded { op => \["...", @bind] } to the changes list.
Norbert Buchmuller [Wed, 26 Nov 2008 19:24:14 +0000]
Added { op => \["...", @bind] } to the changes list.

16 years agoDocumented { op => \'...' } and { op => \['...', @bind] } syntaxes.
Norbert Buchmuller [Wed, 26 Nov 2008 19:18:57 +0000]
Documented { op => \'...' } and { op => \['...', @bind] } syntaxes.

16 years agoSupport for the { operator => \["...", @bind] } construct (to embed literal SQL with...
Norbert Buchmuller [Wed, 26 Nov 2008 18:58:34 +0000]
Support for the { operator => \["...", @bind] } construct (to embed literal SQL with bind values).

16 years agoUpdated doc to refer to Test::Builder instead of Test::More where appropriate.
Norbert Buchmuller [Mon, 24 Nov 2008 22:20:59 +0000]
Updated doc to refer to Test::Builder instead of Test::More where appropriate.

16 years agoRefactored to use _SWITCH_refkind in _where_hashpair_HASHREF.
Norbert Buchmuller [Fri, 21 Nov 2008 13:32:53 +0000]
Refactored to use _SWITCH_refkind in _where_hashpair_HASHREF.

16 years agoSupport for the { operator => \"..." } construct (to embed literal SQL).
Norbert Buchmuller [Thu, 20 Nov 2008 11:32:24 +0000]
Support for the { operator => \"..." } construct (to embed literal SQL).

16 years agoUpdated svn::ignore.
Norbert Buchmuller [Sun, 16 Nov 2008 21:21:00 +0000]
Updated svn::ignore.

16 years agoConverted all test cases where the tests are queued in an array to calculate the...
Norbert Buchmuller [Sun, 16 Nov 2008 21:20:57 +0000]
Converted all test cases where the tests are queued in an array to calculate the test plan from the length of that array.

16 years agoAdded test cases for passing arrayref bind values to insert() and update() when the...
Norbert Buchmuller [Sun, 16 Nov 2008 21:20:49 +0000]
Added test cases for passing arrayref bind values to insert() and update() when the 'array_datatypes' constructor parameter is set to true.
Fixed a bug in insert() when 'array_datatypes' is set to true and an arrayref is passed.

16 years agoMade stringify_bind() work with 'bindtype' set to 'columns' and 'array_datatypes...
Norbert Buchmuller [Sun, 16 Nov 2008 21:20:44 +0000]
Made stringify_bind() work with 'bindtype' set to 'columns' and 'array_datatypes' set to true.

16 years agofixed _refkind for \$object, \\$object. Added tests for _refkind
Laurent Dami [Wed, 12 Nov 2008 05:25:34 +0000]
fixed _refkind for \$object, \\$object. Added tests for _refkind

16 years agoChanged behaviour to not stringify blessed objects, but pass them through to the...
Norbert Buchmuller [Tue, 11 Nov 2008 22:27:47 +0000]
Changed behaviour to not stringify blessed objects, but pass them through to the bind data structure untouched.

16 years agoAdded two more quoting tests for the 'colA DESC' stuff - to document the expected...
Norbert Buchmuller [Mon, 10 Nov 2008 23:04:10 +0000]
Added two more quoting tests for the 'colA DESC' stuff - to document the expected behaviour.

16 years agopatch from mendel, using Test::Builder
Laurent Dami [Thu, 6 Nov 2008 15:19:34 +0000]
patch from mendel, using Test::Builder

16 years agoDBIx::Class directly calls _recurse_where in scalar context, so we must implement...
Laurent Dami [Thu, 6 Nov 2008 03:10:46 +0000]
DBIx::Class directly calls _recurse_where in scalar context, so we must implement it, even if not in the official API

16 years agopatch by Norbert BUCHMULLER: arguments to 'where' that are blessed objects with a...
Laurent Dami [Thu, 6 Nov 2008 02:23:31 +0000]
patch by Norbert BUCHMULLER: arguments to 'where' that are blessed objects with a stringification method are treated like scalars.

16 years agonumify version
Laurent Dami [Thu, 6 Nov 2008 01:26:37 +0000]
numify version

16 years agopatch by Norbert BUCHMULLER (order_by => undef)
Laurent Dami [Wed, 5 Nov 2008 23:52:56 +0000]
patch by Norbert BUCHMULLER (order_by => undef)

16 years agofixed bug signaled by Zbigniew Lukasiak : -and => [{}, {foo => 1}]
Laurent Dami [Wed, 5 Nov 2008 16:19:37 +0000]
fixed bug signaled by  Zbigniew Lukasiak : -and => [{}, {foo => 1}]

16 years agomoved internal test module into published SQL/Abstract/Test, so that clients of SQLA...
Laurent Dami [Sun, 26 Oct 2008 21:38:43 +0000]
moved internal test module into published SQL/Abstract/Test, so that clients of SQLA can take advantage of it for writing their own tests.

16 years agomore improvements / fixes in documentation
Laurent Dami [Fri, 17 Oct 2008 13:07:41 +0000]
more improvements / fixes in documentation

16 years ago1.5 release candidate : filling some holes in the doc
Laurent Dami [Fri, 17 Oct 2008 07:07:17 +0000]
1.5 release candidate : filling some holes in the doc

16 years ago(no commit message)
Laurent Dami [Thu, 16 Oct 2008 22:49:55 +0000]

16 years agofix for key => [] + tests + cleanup of 02where.t
Guillermo Roditi [Thu, 12 Jun 2008 18:34:12 +0000]
fix for key => [] + tests + cleanup of 02where.t

16 years agoone more test and some simple docs
Guillermo Roditi [Thu, 15 May 2008 20:28:33 +0000]
one more test and some simple docs

16 years agobumped version but not $REVISION. small fix to order_by plus more tests. docs pending
Guillermo Roditi [Thu, 15 May 2008 20:07:12 +0000]
bumped version but not $REVISION. small fix to order_by plus more tests. docs pending

17 years agomoved SQL-Abstract to new layout
Matt S Trout [Mon, 24 Sep 2007 01:31:06 +0000]
moved SQL-Abstract to new layout

17 years agoAdded { -desc => 'foo' } order by support
Ash Berlin [Wed, 7 Feb 2007 17:10:24 +0000]
Added { -desc => 'foo' } order by support

17 years agoSanitised layout - now to start hacking
Ash Berlin [Wed, 7 Feb 2007 15:49:20 +0000]
Sanitised layout - now to start hacking

17 years agoadded patch from Guillermo to cleanup in/between,
Ash Berlin [Wed, 7 Feb 2007 15:10:53 +0000]
added patch from Guillermo to cleanup in/between,
and added some text about mst = maintainer
r2301@metis (orig r23):  matthewt | 2007-02-07 13:46:54 +0000
 r35889@cain (orig r18):  nwiger | 2007-01-08 18:43:37 +0000

17 years agoquoting tests
Ash Berlin [Wed, 7 Feb 2007 15:10:32 +0000]
quoting tests
r2299@metis (orig r21):  matthewt | 2007-02-07 13:46:26 +0000
 r33851@cain (orig r10):  matthewt | 2006-11-18 06:58:26 +0000

17 years agoabstract from code imported from DBIC::SQL::Abstract plus tests
Ash Berlin [Wed, 7 Feb 2007 15:10:07 +0000]
abstract from code imported from DBIC::SQL::Abstract plus tests
r2298@metis (orig r20):  matthewt | 2007-02-07 13:46:06 +0000
 r33610@cain (orig r9):  matthewt | 2006-11-13 09:14:03 +0000

17 years agoadded patch from Guillermo to cleanup in/between,
Ash Berlin [Wed, 7 Feb 2007 15:09:40 +0000]
added patch from Guillermo to cleanup in/between,
and added some text about mst = maintainer
r2296@metis (orig r18):  nwiger | 2007-01-08 18:43:37 +0000

17 years agor
Ash Berlin [Wed, 7 Feb 2007 15:09:18 +0000]
r
r2293@metis (orig r15):  nwiger | 2006-11-30 17:16:39 +0000

17 years agochanged email to CPAN address
Ash Berlin [Wed, 7 Feb 2007 15:08:51 +0000]
changed email to CPAN address
r2290@metis (orig r12):  nwiger | 2006-11-30 17:05:24 +0000

17 years agojust comments and email address
Ash Berlin [Wed, 7 Feb 2007 15:08:30 +0000]
just comments and email address
r2289@metis (orig r11):  nwiger | 2006-11-30 17:05:02 +0000

17 years agoreorg
Ash Berlin [Wed, 7 Feb 2007 15:08:16 +0000]
reorg
r2283@metis (orig r5):  nwiger | 2006-09-28 04:13:10 +0100

17 years agokeyword cleanup
Ash Berlin [Wed, 7 Feb 2007 15:08:00 +0000]
keyword cleanup
r2282@metis (orig r4):  nwiger | 2006-09-28 04:09:57 +0100

17 years agobumped version, added keywords
Ash Berlin [Wed, 7 Feb 2007 15:07:36 +0000]
bumped version, added keywords
r2281@metis (orig r3):  nwiger | 2006-09-28 04:09:16 +0100

17 years agoinitial "import"
Ash Berlin [Wed, 7 Feb 2007 15:07:15 +0000]
initial "import"
r2279@metis (orig r1):  nwiger | 2006-09-28 04:06:33 +0100

17 years agoStarting import of SQL-A
Ash Berlin [Wed, 7 Feb 2007 15:03:16 +0000]
Starting import of SQL-A