5 years agolet _expand_expr produce the deprecation warning
Matt S Trout [Mon, 25 Mar 2019 03:10:34 +0000]
let _expand_expr produce the deprecation warning

5 years agoextract _expr_hashpair_op_ident
Matt S Trout [Mon, 25 Mar 2019 02:51:08 +0000]
extract _expr_hashpair_op_ident

5 years agomove injection handling into _hashpair_op and clean up code a bit
Matt S Trout [Mon, 25 Mar 2019 02:45:28 +0000]
move injection handling into _hashpair_op and clean up code a bit

5 years agoextract _expand_expr_hashpair_op
Matt S Trout [Mon, 25 Mar 2019 02:40:11 +0000]
extract _expand_expr_hashpair_op

5 years agoremove unused clause
Matt S Trout [Mon, 25 Mar 2019 02:32:01 +0000]
remove unused clause

5 years agoswitch ident/value to proposed unop style
Matt S Trout [Mon, 25 Mar 2019 02:11:22 +0000]
switch ident/value to proposed unop style

5 years agorename _expand_andor to _expand_op_andor
Matt S Trout [Mon, 25 Mar 2019 02:05:43 +0000]
rename _expand_andor to _expand_op_andor

5 years agoeliminate passing of unused logic op name
Matt S Trout [Mon, 25 Mar 2019 01:59:57 +0000]
eliminate passing of unused logic op name

5 years agoandor now handled primarily by _expand_op
Matt S Trout [Mon, 25 Mar 2019 01:57:59 +0000]
andor now handled primarily by _expand_op

5 years agoimprove 04modifiers diagnostics
Matt S Trout [Mon, 25 Mar 2019 01:57:43 +0000]
improve 04modifiers diagnostics

5 years agomurder the $logic variable
Matt S Trout [Mon, 25 Mar 2019 01:38:27 +0000]
murder the $logic variable

5 years agoeliminate $logic from _expand_expr
Matt S Trout [Mon, 25 Mar 2019 01:31:42 +0000]
eliminate $logic from _expand_expr

5 years agoarrayref logic can just use $self
Matt S Trout [Mon, 25 Mar 2019 01:30:43 +0000]
arrayref logic can just use $self

5 years ago_expand_expr hashref is always and
Matt S Trout [Mon, 25 Mar 2019 01:30:03 +0000]
_expand_expr hashref is always and

5 years agonuke old Data-Query symlink
Matt S Trout [Mon, 25 Mar 2019 00:20:00 +0000]
nuke old Data-Query symlink

5 years agolift injection validation
Matt S Trout [Thu, 21 Mar 2019 05:34:28 +0000]
lift injection validation

5 years agoextract another andor case
Matt S Trout [Thu, 21 Mar 2019 05:32:24 +0000]
extract another andor case

5 years agoextract -nest code
Matt S Trout [Thu, 21 Mar 2019 05:28:26 +0000]
extract -nest code

5 years agothis is always andor so bypass expr
Matt S Trout [Thu, 21 Mar 2019 05:20:10 +0000]
this is always andor so bypass expr

5 years agoswitch another case to andor expansion
Matt S Trout [Thu, 21 Mar 2019 05:18:26 +0000]
switch another case to andor expansion

5 years agoswitch ident and value to expand_op
Matt S Trout [Thu, 21 Mar 2019 05:11:58 +0000]
switch ident and value to expand_op

5 years agore-engineer ident
Matt S Trout [Thu, 21 Mar 2019 05:08:58 +0000]
re-engineer ident

5 years agoextract ident handling
Matt S Trout [Thu, 21 Mar 2019 05:03:54 +0000]
extract ident handling

5 years agoexpand andor for more cases
Matt S Trout [Thu, 21 Mar 2019 04:55:03 +0000]
expand andor for more cases

5 years agoextract in/not in code
Matt S Trout [Thu, 21 Mar 2019 04:39:09 +0000]
extract in/not in code

5 years agointroduce expand_op concept and move between to it
Matt S Trout [Thu, 21 Mar 2019 04:35:47 +0000]
introduce expand_op concept and move between to it

5 years agoextract op rendering prefix+not
Matt S Trout [Thu, 21 Mar 2019 04:22:03 +0000]
extract op rendering prefix+not

5 years agosimplify unop_postfix code
Matt S Trout [Thu, 21 Mar 2019 04:12:54 +0000]
simplify unop_postfix code

5 years agomurder special use for and/or
Matt S Trout [Thu, 21 Mar 2019 04:11:31 +0000]
murder special use for and/or

5 years agoremove postfix code
Matt S Trout [Thu, 21 Mar 2019 04:04:04 +0000]
remove postfix code

5 years agoop rendering w/postfix
Matt S Trout [Thu, 21 Mar 2019 04:02:55 +0000]
op rendering w/postfix

5 years agoclean custom op rendering to $self config
Matt S Trout [Thu, 21 Mar 2019 03:47:44 +0000]
clean custom op rendering to $self config

5 years agono longer required, op is normalised earlier
Matt S Trout [Thu, 21 Mar 2019 03:38:00 +0000]
no longer required, op is normalised earlier

5 years agokill final_op normalisation since no longer required
Matt S Trout [Thu, 21 Mar 2019 03:35:24 +0000]
kill final_op normalisation since no longer required

5 years agoremove duplicate value expansion code
Matt S Trout [Mon, 18 Mar 2019 17:06:21 +0000]
remove duplicate value expansion code

5 years agoextract and/or expansion
Matt S Trout [Mon, 18 Mar 2019 17:04:43 +0000]
extract and/or expansion

5 years agoadd notreached barf to and/or processing
Matt S Trout [Mon, 18 Mar 2019 04:56:48 +0000]
add notreached barf to and/or processing

5 years agoextract _expand_bool method
Matt S Trout [Mon, 18 Mar 2019 04:43:33 +0000]
extract _expand_bool method

5 years agomove _expand_not to method
Matt S Trout [Mon, 18 Mar 2019 04:42:32 +0000]
move _expand_not to method

5 years ago_expand_value
Matt S Trout [Mon, 18 Mar 2019 04:41:33 +0000]
_expand_value

5 years agoexpandify -bool
Matt S Trout [Mon, 18 Mar 2019 04:37:53 +0000]
expandify -bool

5 years agomove -not to an expander
Matt S Trout [Mon, 18 Mar 2019 04:34:37 +0000]
move -not to an expander

5 years agokill last self-call from hashpair code
Matt S Trout [Mon, 18 Mar 2019 04:33:29 +0000]
kill last self-call from hashpair code

5 years agofurther conversion to expand system
Matt S Trout [Mon, 18 Mar 2019 04:32:01 +0000]
further conversion to expand system

5 years agode-hashpair array RHS-of-RHS case
Matt S Trout [Mon, 18 Mar 2019 04:19:21 +0000]
de-hashpair array RHS-of-RHS case

5 years agomove and/or expansion to non-hashpair
Matt S Trout [Mon, 18 Mar 2019 04:17:27 +0000]
move and/or expansion to non-hashpair

5 years agoand hash de-hashpaired
Matt S Trout [Mon, 18 Mar 2019 04:16:37 +0000]
and hash de-hashpaired

5 years agoconvert undef value to expr call
Matt S Trout [Mon, 18 Mar 2019 04:15:26 +0000]
convert undef value to expr call

5 years agofirst step of hashpair conversion
Matt S Trout [Mon, 18 Mar 2019 04:14:42 +0000]
first step of hashpair conversion

5 years agodefault_scalar_to only needs to happen in expand_expr now
Matt S Trout [Sun, 17 Mar 2019 16:43:45 +0000]
default_scalar_to only needs to happen in expand_expr now

5 years agonormalise op earlier in { col => { op => ... } } structure
Matt S Trout [Wed, 13 Mar 2019 21:45:41 +0000]
normalise op earlier in { col => { op => ... } } structure

5 years agominor whitespace fix
Matt S Trout [Thu, 7 Mar 2019 02:05:25 +0000]
minor whitespace fix

5 years agomuch more sane expansion of idents
Matt S Trout [Thu, 7 Mar 2019 02:00:52 +0000]
much more sane expansion of idents

5 years agomore ident expansion
Matt S Trout [Wed, 6 Mar 2019 02:55:12 +0000]
more ident expansion

5 years agomove a bunch of ident returns to expand
Matt S Trout [Wed, 6 Mar 2019 02:47:24 +0000]
move a bunch of ident returns to expand

5 years agointroduce _expand_ident method, use for update
Matt S Trout [Wed, 6 Mar 2019 02:02:12 +0000]
introduce _expand_ident method, use for update

5 years agoadd render_expr method
Matt S Trout [Wed, 6 Mar 2019 01:42:15 +0000]
add render_expr method

5 years agoclean up the logic thing
Matt S Trout [Tue, 5 Mar 2019 03:15:12 +0000]
clean up the logic thing

5 years agodefault scalar in expand
Matt S Trout [Tue, 5 Mar 2019 03:07:46 +0000]
default scalar in expand

5 years agoI don't have a test for this but I'm sure that was an error
Matt S Trout [Tue, 5 Mar 2019 02:36:12 +0000]
I don't have a test for this but I'm sure that was an error

5 years agorename node_types to render
Matt S Trout [Tue, 5 Mar 2019 02:28:23 +0000]
rename node_types to render

5 years agoclean up code and use expand/render methods
Matt S Trout [Tue, 5 Mar 2019 02:15:01 +0000]
clean up code and use expand/render methods

5 years agocheck for undef and kill pointless debug checks
Matt S Trout [Tue, 5 Mar 2019 02:02:59 +0000]
check for undef and kill pointless debug checks

5 years agokill last empty string literal
Matt S Trout [Wed, 27 Feb 2019 06:27:29 +0000]
kill last empty string literal

5 years agoremove a literal "" in favour of undef
Matt S Trout [Wed, 27 Feb 2019 06:23:49 +0000]
remove a literal "" in favour of undef

5 years agoexpand value node type to bind, remove value render code
Matt S Trout [Wed, 27 Feb 2019 03:33:33 +0000]
expand value node type to bind, remove value render code

5 years agoclean vestigial debugging code
Matt S Trout [Wed, 27 Feb 2019 03:18:47 +0000]
clean vestigial debugging code

5 years agoextract list as a node type
Matt S Trout [Wed, 27 Feb 2019 03:07:00 +0000]
extract list as a node type

5 years agocleaner DBIC detection and compat
Matt S Trout [Wed, 27 Feb 2019 02:46:02 +0000]
cleaner DBIC detection and compat

5 years agocatch another weird edge case in _order_by
Matt S Trout [Sun, 24 Feb 2019 20:46:29 +0000]
catch another weird edge case in _order_by

5 years agoadditional fixups for top-level-ness and oddities
Matt S Trout [Sat, 23 Feb 2019 20:52:54 +0000]
additional fixups for top-level-ness and oddities

5 years agoensure _order_by_chunks returns what it used to
Matt S Trout [Fri, 22 Feb 2019 18:09:27 +0000]
ensure _order_by_chunks returns what it used to

5 years agoshort circuit empty components faster
Matt S Trout [Wed, 20 Feb 2019 19:21:46 +0000]
short circuit empty components faster

5 years agodon't parenthesise single clause and/or because, well, don't be silly
Matt S Trout [Sat, 16 Feb 2019 03:06:34 +0000]
don't parenthesise single clause and/or because, well, don't be silly

5 years agoI have no idea why I inlined the bindval assertion but it was stupid
Matt S Trout [Fri, 15 Feb 2019 23:03:33 +0000]
I have no idea why I inlined the bindval assertion but it was stupid

5 years agotweak special op handling and prefix op versus func heuristics
Matt S Trout [Fri, 15 Feb 2019 22:57:56 +0000]
tweak special op handling and prefix op versus func heuristics

5 years agorestore exact whitespace because DBIC t/storage/debug.t relies on it
Matt S Trout [Fri, 15 Feb 2019 21:57:19 +0000]
restore exact whitespace because DBIC t/storage/debug.t relies on it

5 years ago_order_by_chunks fuckery to help DBIC not confuse itself
Matt S Trout [Fri, 15 Feb 2019 21:53:13 +0000]
_order_by_chunks fuckery to help DBIC not confuse itself

5 years agomake the DBIC required warning scoped
Matt S Trout [Wed, 13 Feb 2019 03:01:48 +0000]
make the DBIC required warning scoped

5 years agosingle fire -nest warning because DBIC expects it, fix an order_by bug
Matt S Trout [Tue, 12 Feb 2019 19:39:44 +0000]
single fire -nest warning because DBIC expects it, fix an order_by bug

5 years agohandle scalar arg to _recurse_where correctly
Matt S Trout [Tue, 12 Feb 2019 18:54:52 +0000]
handle scalar arg to _recurse_where correctly

5 years agodbic uses _order_by_chunks, unsure how to unit test
Matt S Trout [Sun, 28 Oct 2018 00:36:11 +0000]
dbic uses _order_by_chunks, unsure how to unit test

5 years agofor compat, single select arg doesnt quote
Matt S Trout [Sun, 28 Oct 2018 00:31:54 +0000]
for compat, single select arg doesnt quote

5 years agofix undef (null) values passed to update
Matt S Trout [Thu, 25 Oct 2018 22:31:05 +0000]
fix undef (null) values passed to update

5 years agoalso barf on arrayref based order_by with the same problem
Matt S Trout [Wed, 17 Oct 2018 22:59:14 +0000]
also barf on arrayref based order_by with the same problem

5 years agorestore _order_by exception on nonsense asc+desc input
Matt S Trout [Wed, 17 Oct 2018 22:44:29 +0000]
restore _order_by exception on nonsense asc+desc input

5 years agoswitch back to original key for special_ops since things poke at it
Matt S Trout [Sun, 14 Oct 2018 18:50:57 +0000]
switch back to original key for special_ops since things poke at it

5 years agorestore unary op functionality
Matt S Trout [Sun, 14 Oct 2018 18:46:29 +0000]
restore unary op functionality

5 years agoswitch to expand_unary hashref, maybe scalar default propagate
Matt S Trout [Fri, 21 Sep 2018 00:11:02 +0000]
switch to expand_unary hashref, maybe scalar default propagate

5 years agoallow arrayref ident values for multi-part ident
Matt S Trout [Thu, 20 Sep 2018 22:13:03 +0000]
allow arrayref ident values for multi-part ident

5 years agomake node_types a (currently unexposed) hashref
Matt S Trout [Thu, 20 Sep 2018 21:21:21 +0000]
make node_types a (currently unexposed) hashref

5 years agoquote code supports multi-part idents
Matt S Trout [Tue, 18 Sep 2018 03:29:58 +0000]
quote code supports multi-part idents

5 years agoset values in update via expand/render
Matt S Trout [Tue, 18 Sep 2018 02:13:37 +0000]
set values in update via expand/render

5 years agoexpand values for insert
Matt S Trout [Tue, 18 Sep 2018 01:44:05 +0000]
expand values for insert

5 years agoRETURNING using render/expand
Matt S Trout [Tue, 18 Sep 2018 01:24:08 +0000]
RETURNING using render/expand

5 years agoselect fields now handled by expand/render code
Matt S Trout [Tue, 18 Sep 2018 01:16:13 +0000]
select fields now handled by expand/render code

5 years agoonly maybe list expand if <1 thing
Matt S Trout [Tue, 18 Sep 2018 01:15:43 +0000]
only maybe list expand if <1 thing

5 years agoextract _expand_maybe_list_expr
Matt S Trout [Tue, 18 Sep 2018 01:08:55 +0000]
extract _expand_maybe_list_expr

5 years agomake _table use expand/render code
Matt S Trout [Tue, 18 Sep 2018 01:03:25 +0000]
make _table use expand/render code

5 years agono space to the LHS of a comma
Matt S Trout [Mon, 17 Sep 2018 23:09:17 +0000]
no space to the LHS of a comma