15 years agoMake POD more readable, add a (failing) multikey order_by test
Peter Rabbitson [Fri, 24 Apr 2009 19:53:07 +0000]
Make POD more readable, add a (failing) multikey order_by test

15 years agoadd in my changes
Justin Hunter [Fri, 24 Apr 2009 18:54:00 +0000]
add in my changes

15 years agoadd support for order_by => [qw/colA colB/]
Justin Hunter [Fri, 24 Apr 2009 18:47:06 +0000]
add support for order_by => [qw/colA colB/]

15 years agoMerge 'and_or' into 'trunk'
Peter Rabbitson [Thu, 23 Apr 2009 22:16:52 +0000]
Merge 'and_or' into 'trunk'

r5860@Thesaurus (orig r5859):  arcanez | 2009-04-07 18:37:24 +0200
 * branch to work on -and => [], -or => {}
r5862@Thesaurus (orig r5861):  arcanez | 2009-04-08 04:47:47 +0200
fix for hashref $logic
r5969@Thesaurus (orig r5968):  arcanez | 2009-04-24 00:03:03 +0200
readd the failing test back in
r5970@Thesaurus (orig r5969):  ribasushi | 2009-04-24 00:16:41 +0200
Strip some parenthesis for easier reading

15 years agoStrip some parenthesis for easier reading
Peter Rabbitson [Thu, 23 Apr 2009 22:16:41 +0000]
Strip some parenthesis for easier reading

15 years agoreadd the failing test back in
Justin Hunter [Thu, 23 Apr 2009 22:03:03 +0000]
readd the failing test back in

15 years agoSilence warning on bleadperl (by SMPETERS)
Peter Rabbitson [Tue, 21 Apr 2009 06:30:25 +0000]
Silence warning on bleadperl (by SMPETERS)

15 years agopatch for -between to handle [\"", \""] and \["", @bind] with accompanying tests
Justin Hunter [Tue, 21 Apr 2009 00:03:47 +0000]
patch for -between to handle [\"", \""] and \["", @bind] with accompanying tests

15 years agofix for hashref $logic
Justin Hunter [Wed, 8 Apr 2009 02:47:47 +0000]
fix for hashref $logic

15 years agobranch to work on -and => [], -or => {}
Justin Hunter [Tue, 7 Apr 2009 16:37:24 +0000]
branch to work on -and => [], -or => {}

15 years agocorrections/additions in POD, after remarks from ribasushi
Laurent Dami [Wed, 1 Apr 2009 09:06:17 +0000]
corrections/additions in POD, after remarks from ribasushi

15 years agoRemove CR/LF and exec bits
Peter Rabbitson [Sun, 29 Mar 2009 08:35:19 +0000]
Remove CR/LF and exec bits

15 years agoThis todo is active on the cpan 1.51 release, still needs resolving thus leaving...
Peter Rabbitson [Sun, 29 Mar 2009 08:33:45 +0000]
This todo is active on the cpan 1.51 release, still needs resolving thus leaving as failing

15 years agoRelease 1.51
Peter Rabbitson [Sat, 28 Mar 2009 10:04:39 +0000]
Release 1.51

15 years agoSomeone else would have to write -nest tests
Peter Rabbitson [Sat, 28 Mar 2009 02:23:57 +0000]
Someone else would have to write -nest tests

15 years agoMassive modifier test cleanup
Peter Rabbitson [Sat, 28 Mar 2009 02:02:26 +0000]
Massive modifier test cleanup

15 years agoSplit test for clarity
Peter Rabbitson [Sat, 28 Mar 2009 02:01:03 +0000]
Split test for clarity

15 years agoWarn about deprecation of and/or/nestX
Peter Rabbitson [Sat, 28 Mar 2009 02:00:46 +0000]
Warn about deprecation of and/or/nestX

15 years agoBetter test exception diag
Peter Rabbitson [Sat, 28 Mar 2009 01:16:01 +0000]
Better test exception diag

15 years agomod_N deprecation tests
Peter Rabbitson [Tue, 24 Mar 2009 09:10:07 +0000]
mod_N deprecation tests

15 years agoAll functionality tests in, except for nest and opX warnings
Peter Rabbitson [Tue, 24 Mar 2009 08:36:12 +0000]
All functionality tests in, except for nest and opX warnings

15 years agodoc improvements, restructuring and adding explanations for the -and/-or stuff, undoc...
Laurent Dami [Tue, 24 Mar 2009 07:54:06 +0000]
doc improvements, restructuring and adding explanations for the -and/-or stuff, undocumenting the -nest[0-9] stuff

15 years agoA yet more-smarter parser for SQLA::Test - any smarter than that and we go skynet
Peter Rabbitson [Tue, 24 Mar 2009 07:33:31 +0000]
A yet more-smarter parser for SQLA::Test - any smarter than that and we go skynet

15 years agoSanify patch by arcanez - we do not gobble any -X op, just -and/-or
Peter Rabbitson [Tue, 24 Mar 2009 07:13:34 +0000]
Sanify patch by arcanez - we do not gobble any -X op, just -and/-or

15 years agoupdated doc to officially support the -and/-or => [...] syntax instead of [-and/...
Laurent Dami [Mon, 23 Mar 2009 22:22:00 +0000]
updated doc to officially support the -and/-or => [...] syntax instead of [-and/-or => ...]

15 years agofixed the failing tests
Laurent Dami [Mon, 23 Mar 2009 21:07:23 +0000]
fixed the failing tests

15 years agoMore modifier tests, all appear to be good (more needed)
Peter Rabbitson [Sun, 22 Mar 2009 23:22:22 +0000]
More modifier tests, all appear to be good (more needed)

15 years agoPreliminary fix by arcanez
Peter Rabbitson [Sun, 22 Mar 2009 22:26:12 +0000]
Preliminary fix by arcanez

15 years agoReverting massive test breakage by LDAMI - this stuff can not happen in 1.x, has...
Peter Rabbitson [Sun, 22 Mar 2009 22:24:07 +0000]
Reverting massive test breakage by LDAMI - this stuff can not happen in 1.x, has to wait for 2.x (some tests changes are reasonable, acking where appropriate)

15 years agoDummyfy test for now
Peter Rabbitson [Sun, 22 Mar 2009 22:17:44 +0000]
Dummyfy test for now

15 years agoConsider 'X BETWEEN' a statement keyword
Peter Rabbitson [Sun, 22 Mar 2009 22:12:17 +0000]
Consider 'X BETWEEN' a statement keyword

15 years agoComment clarify
Peter Rabbitson [Sun, 22 Mar 2009 21:12:21 +0000]
Comment clarify

15 years agoMassive SQLA::Test rewrite - make it handle ()s sanely, instead of pruning them at...
Peter Rabbitson [Sun, 22 Mar 2009 21:10:23 +0000]
Massive SQLA::Test rewrite - make it handle ()s sanely, instead of pruning them at will

15 years agotest SQLA::Test shortcommings
Peter Rabbitson [Sat, 21 Mar 2009 17:26:05 +0000]
test SQLA::Test shortcommings

15 years agoFramework for modifiers tests
Peter Rabbitson [Sat, 21 Mar 2009 16:20:11 +0000]
Framework for modifiers tests

15 years agoCorrect nested modifier tests
Peter Rabbitson [Thu, 19 Mar 2009 21:18:02 +0000]
Correct nested modifier tests

15 years agoSQLA syntax regression from 1.24
Marcus Ramberg [Thu, 19 Mar 2009 20:49:39 +0000]
SQLA syntax regression from 1.24

15 years agoFailing nested modifier tests (the tests themselves are debatable - possible regressi...
Peter Rabbitson [Thu, 19 Mar 2009 20:34:51 +0000]
Failing nested modifier tests (the tests themselves are debatable - possible regression from 1.24

15 years agocp -r from branches/1.50_RC where svk push won't work
Rob Kinyon [Thu, 19 Mar 2009 18:58:41 +0000]
cp -r from branches/1.50_RC where svk push won't work

15 years agoFixed my typos/wording errors in the POD.
Norbert Buchmuller [Wed, 11 Mar 2009 23:45:11 +0000]
Fixed my typos/wording errors in the POD.

15 years agoBump to 1.50
Peter Rabbitson [Tue, 10 Mar 2009 12:22:53 +0000]
Bump to 1.50

15 years agoBumped version number to 1.49_05 and updated Changes.
Norbert Buchmuller [Tue, 10 Mar 2009 12:11:28 +0000]
Bumped version number to 1.49_05 and updated Changes.

15 years agoFixed a typo in Changes.
Norbert Buchmuller [Tue, 10 Mar 2009 12:11:20 +0000]
Fixed a typo in Changes.
Fixed a duplication in Changes.

15 years agoEnhance values test
Peter Rabbitson [Mon, 9 Mar 2009 01:32:08 +0000]
Enhance values test

15 years agoFix is_* in test to return the correct test value
Peter Rabbitson [Mon, 9 Mar 2009 01:26:52 +0000]
Fix is_* in test to return the correct test value

15 years agoBetter handling of borked sql in tests
Peter Rabbitson [Mon, 9 Mar 2009 01:24:34 +0000]
Better handling of borked sql in tests

15 years agoFixed interjecting arrayrefref into a where clause
Rob Kinyon [Mon, 9 Mar 2009 00:35:23 +0000]
Fixed interjecting arrayrefref into a where clause

15 years agoFixed the problem with values() not behaving the same as the rest of the code.
Rob Kinyon [Mon, 9 Mar 2009 00:25:12 +0000]
Fixed the problem with values() not behaving the same as the rest of the code.

15 years agoClarify insanedness of test
Peter Rabbitson [Sun, 8 Mar 2009 22:43:57 +0000]
Clarify insanedness of test

15 years agoCleanup test and add a failing test case against RT#43483
Peter Rabbitson [Sun, 8 Mar 2009 22:37:36 +0000]
Cleanup test and add a failing test case against RT#43483

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}]