Justin Hunter [Fri, 24 Apr 2009 18:47:06 +0000]
add support for order_by => [qw/colA colB/]
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
Peter Rabbitson [Thu, 23 Apr 2009 22:16:41 +0000]
Strip some parenthesis for easier reading
Justin Hunter [Thu, 23 Apr 2009 22:03:03 +0000]
readd the failing test back in
Peter Rabbitson [Tue, 21 Apr 2009 06:30:25 +0000]
Silence warning on bleadperl (by SMPETERS)
Justin Hunter [Tue, 21 Apr 2009 00:03:47 +0000]
patch for -between to handle [\"", \""] and \["", @bind] with accompanying tests
Justin Hunter [Wed, 8 Apr 2009 02:47:47 +0000]
fix for hashref $logic
Justin Hunter [Tue, 7 Apr 2009 16:37:24 +0000]
branch to work on -and => [], -or => {}
Laurent Dami [Wed, 1 Apr 2009 09:06:17 +0000]
corrections/additions in POD, after remarks from ribasushi
Peter Rabbitson [Sun, 29 Mar 2009 08:35:19 +0000]
Remove CR/LF and exec bits
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
Peter Rabbitson [Sat, 28 Mar 2009 10:04:39 +0000]
Release 1.51
Peter Rabbitson [Sat, 28 Mar 2009 02:23:57 +0000]
Someone else would have to write -nest tests
Peter Rabbitson [Sat, 28 Mar 2009 02:02:26 +0000]
Massive modifier test cleanup
Peter Rabbitson [Sat, 28 Mar 2009 02:01:03 +0000]
Split test for clarity
Peter Rabbitson [Sat, 28 Mar 2009 02:00:46 +0000]
Warn about deprecation of and/or/nestX
Peter Rabbitson [Sat, 28 Mar 2009 01:16:01 +0000]
Better test exception diag
Peter Rabbitson [Tue, 24 Mar 2009 09:10:07 +0000]
mod_N deprecation tests
Peter Rabbitson [Tue, 24 Mar 2009 08:36:12 +0000]
All functionality tests in, except for nest and opX warnings
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
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
Peter Rabbitson [Tue, 24 Mar 2009 07:13:34 +0000]
Sanify patch by arcanez - we do not gobble any -X op, just -and/-or
Laurent Dami [Mon, 23 Mar 2009 22:22:00 +0000]
updated doc to officially support the -and/-or => [...] syntax instead of [-and/-or => ...]
Laurent Dami [Mon, 23 Mar 2009 21:07:23 +0000]
fixed the failing tests
Peter Rabbitson [Sun, 22 Mar 2009 23:22:22 +0000]
More modifier tests, all appear to be good (more needed)
Peter Rabbitson [Sun, 22 Mar 2009 22:26:12 +0000]
Preliminary fix by arcanez
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)
Peter Rabbitson [Sun, 22 Mar 2009 22:17:44 +0000]
Dummyfy test for now
Peter Rabbitson [Sun, 22 Mar 2009 22:12:17 +0000]
Consider 'X BETWEEN' a statement keyword
Peter Rabbitson [Sun, 22 Mar 2009 21:12:21 +0000]
Comment clarify
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
Peter Rabbitson [Sat, 21 Mar 2009 17:26:05 +0000]
test SQLA::Test shortcommings
Peter Rabbitson [Sat, 21 Mar 2009 16:20:11 +0000]
Framework for modifiers tests
Peter Rabbitson [Thu, 19 Mar 2009 21:18:02 +0000]
Correct nested modifier tests
Marcus Ramberg [Thu, 19 Mar 2009 20:49:39 +0000]
SQLA syntax regression from 1.24
Peter Rabbitson [Thu, 19 Mar 2009 20:34:51 +0000]
Failing nested modifier tests (the tests themselves are debatable - possible regression from 1.24
Rob Kinyon [Thu, 19 Mar 2009 18:58:41 +0000]
cp -r from branches/1.50_RC where svk push won't work
Norbert Buchmuller [Wed, 11 Mar 2009 23:45:11 +0000]
Fixed my typos/wording errors in the POD.
Peter Rabbitson [Tue, 10 Mar 2009 12:22:53 +0000]
Bump to 1.50
Norbert Buchmuller [Tue, 10 Mar 2009 12:11:28 +0000]
Bumped version number to 1.49_05 and updated Changes.
Norbert Buchmuller [Tue, 10 Mar 2009 12:11:20 +0000]
Fixed a typo in Changes.
Fixed a duplication in Changes.
Peter Rabbitson [Mon, 9 Mar 2009 01:32:08 +0000]
Enhance values test
Peter Rabbitson [Mon, 9 Mar 2009 01:26:52 +0000]
Fix is_* in test to return the correct test value
Peter Rabbitson [Mon, 9 Mar 2009 01:24:34 +0000]
Better handling of borked sql in tests
Rob Kinyon [Mon, 9 Mar 2009 00:35:23 +0000]
Fixed interjecting arrayrefref into a where clause
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.
Peter Rabbitson [Sun, 8 Mar 2009 22:43:57 +0000]
Clarify insanedness of test
Peter Rabbitson [Sun, 8 Mar 2009 22:37:36 +0000]
Cleanup test and add a failing test case against RT#43483
Peter Rabbitson [Sun, 8 Mar 2009 22:31:51 +0000]
Deal properly with () in is_same_sql_bind
Peter Rabbitson [Sun, 8 Mar 2009 21:25:14 +0000]
Add value-only insert test with a literal sql snippet
Peter Rabbitson [Sun, 8 Mar 2009 20:50:06 +0000]
Failing tests by debolaz
Peter Rabbitson [Sun, 8 Mar 2009 09:17:06 +0000]
Do not version MANIFEST
Peter Rabbitson [Sun, 8 Mar 2009 08:54:05 +0000]
Update Changes
Norbert Buchmuller [Tue, 3 Mar 2009 21:38:32 +0000]
Bumped version number to 1.49_04.
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.
Norbert Buchmuller [Tue, 17 Feb 2009 19:58:31 +0000]
Bumped version number to 1.49_03.
Norbert Buchmuller [Tue, 17 Feb 2009 19:57:28 +0000]
Added test cases for "col => {-in => \[$sql, @bind]}" with bindtype => 'columns'.
Norbert Buchmuller [Tue, 17 Feb 2009 19:34:50 +0000]
Added documentation of the impact of bindtype on \[$sql, @bind].
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.
Norbert Buchmuller [Mon, 16 Feb 2009 13:18:55 +0000]
Bumped revision number.
Norbert Buchmuller [Mon, 16 Feb 2009 13:17:07 +0000]
Fixed 'use constant' statement to work on Perl 5.6.
Norbert Buchmuller [Sun, 15 Feb 2009 15:39:26 +0000]
Applied patch from Zbigniew Lukasiak (with slight modifications) to accept "col => { -in => \[$sql, @bind] }".
Norbert Buchmuller [Sun, 15 Feb 2009 14:33:24 +0000]
Formatting.
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.
Norbert Buchmuller [Wed, 11 Feb 2009 14:51:00 +0000]
Added test cases to test the arrayref (\[$sql, @bind]) support if @bind is empty.
Norbert Buchmuller [Mon, 9 Feb 2009 21:39:02 +0000]
Changed author field in Makefile.PL to mst.
Norbert Buchmuller [Mon, 9 Feb 2009 21:29:41 +0000]
Added test for an expected warning.
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.
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).
Norbert Buchmuller [Mon, 15 Dec 2008 21:26:44 +0000]
Removed an unnecessary 'use'.
Norbert Buchmuller [Mon, 15 Dec 2008 21:26:39 +0000]
Merged changes from the '1.50_RC-extraparens' branch.
Norbert Buchmuller [Wed, 10 Dec 2008 10:30:30 +0000]
Added myself to the contributors list.
Norbert Buchmuller [Fri, 28 Nov 2008 08:30:09 +0000]
Added dependency to Test::Deep.
Norbert Buchmuller [Fri, 28 Nov 2008 08:26:34 +0000]
Replaced eq_bind() implementation to use Test::Deep::eq_deeply().
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.
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:25 +0000]
Updated svn:ignore.
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:22 +0000]
Updated dependencies. (made a typo in previous commit)
Norbert Buchmuller [Wed, 26 Nov 2008 22:35:18 +0000]
Updated dependencies.
Norbert Buchmuller [Wed, 26 Nov 2008 22:24:43 +0000]
Removed a wrong test (tested for overloaded stringification).
Simplified a test for blessed objects.
Norbert Buchmuller [Wed, 26 Nov 2008 19:24:14 +0000]
Added { op => \["...", @bind] } to the changes list.
Norbert Buchmuller [Wed, 26 Nov 2008 19:18:57 +0000]
Documented { op => \'...' } and { op => \['...', @bind] } syntaxes.
Norbert Buchmuller [Wed, 26 Nov 2008 18:58:34 +0000]
Support for the { operator => \["...", @bind] } construct (to embed literal SQL with bind values).
Norbert Buchmuller [Mon, 24 Nov 2008 22:20:59 +0000]
Updated doc to refer to Test::Builder instead of Test::More where appropriate.
Norbert Buchmuller [Fri, 21 Nov 2008 13:32:53 +0000]
Refactored to use _SWITCH_refkind in _where_hashpair_HASHREF.
Norbert Buchmuller [Thu, 20 Nov 2008 11:32:24 +0000]
Support for the { operator => \"..." } construct (to embed literal SQL).
Norbert Buchmuller [Sun, 16 Nov 2008 21:21:00 +0000]
Updated svn::ignore.
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.
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.
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.
Laurent Dami [Wed, 12 Nov 2008 05:25:34 +0000]
fixed _refkind for \$object, \\$object. Added tests for _refkind
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.
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.
Laurent Dami [Thu, 6 Nov 2008 15:19:34 +0000]
patch from mendel, using Test::Builder
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
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.
Laurent Dami [Thu, 6 Nov 2008 01:26:37 +0000]
numify version
Laurent Dami [Wed, 5 Nov 2008 23:52:56 +0000]
patch by Norbert BUCHMULLER (order_by => undef)
Laurent Dami [Wed, 5 Nov 2008 16:19:37 +0000]
fixed bug signaled by Zbigniew Lukasiak : -and => [{}, {foo => 1}]
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.
Laurent Dami [Fri, 17 Oct 2008 13:07:41 +0000]
more improvements / fixes in documentation