4 years agodon't expand unknown clauses, nerf returning support if overriden
Matt S Trout [Sun, 22 Sep 2019 16:57:25 +0000]
don't expand unknown clauses, nerf returning support if overriden

4 years agoswitch insert over to clauses system
Matt S Trout [Sun, 22 Sep 2019 16:41:36 +0000]
switch insert over to clauses system

4 years agoupdate switched to clauses system
Matt S Trout [Sun, 22 Sep 2019 03:12:08 +0000]
update switched to clauses system

4 years agoauto-generate clause expansion config
Matt S Trout [Sun, 22 Sep 2019 03:03:29 +0000]
auto-generate clause expansion config

4 years agoswitch delete to clauses system
Matt S Trout [Sun, 22 Sep 2019 02:58:28 +0000]
switch delete to clauses system

4 years agoextract basic usage to a static hash
Matt S Trout [Sun, 22 Sep 2019 01:45:58 +0000]
extract basic usage to a static hash

4 years agohandle completely bizarre edge case
Matt S Trout [Sat, 21 Sep 2019 20:15:30 +0000]
handle completely bizarre edge case

4 years agodetect disabled ops earlier and fail
Matt S Trout [Sat, 21 Sep 2019 20:15:00 +0000]
detect disabled ops earlier and fail

4 years agoadd use lib so +x and #! are more useful
Matt S Trout [Sat, 21 Sep 2019 17:46:11 +0000]
add use lib so +x and #! are more useful

4 years agotest is case insensitive, result should be lower cased
Matt S Trout [Thu, 19 Sep 2019 19:26:32 +0000]
test is case insensitive, result should be lower cased

4 years agofix deep empty expr to render nothing
Matt S Trout [Thu, 19 Sep 2019 19:16:44 +0000]
fix deep empty expr to render nothing

4 years agoadd shebang lines to all +x perl scripts (duh)
Matt S Trout [Thu, 19 Sep 2019 18:03:35 +0000]
add shebang lines to all +x perl scripts (duh)

4 years agocouple utility scripts
Matt S Trout [Thu, 19 Sep 2019 17:33:23 +0000]
couple utility scripts

4 years agoI need these every time I debug it so might as well leave them as comments
Matt S Trout [Thu, 19 Sep 2019 17:00:19 +0000]
I need these every time I debug it so might as well leave them as comments

4 years agomake render_statement consistent with other render_ methods
Matt S Trout [Thu, 19 Sep 2019 16:51:33 +0000]
make render_statement consistent with other render_ methods

4 years agolift innerdent and unify algorithm
Matt S Trout [Mon, 16 Sep 2019 19:30:32 +0000]
lift innerdent and unify algorithm

4 years agobetter indent picking inside parens
Matt S Trout [Mon, 16 Sep 2019 19:22:41 +0000]
better indent picking inside parens

4 years agoneed $join having removed the space-after-), and resetting the proto was bad
Matt S Trout [Mon, 16 Sep 2019 19:01:35 +0000]
need $join having removed the space-after-), and resetting the proto was bad

4 years agodon't add nl_pre before final newline (duh)
Matt S Trout [Mon, 16 Sep 2019 17:53:58 +0000]
don't add nl_pre before final newline (duh)

4 years agoin practice, shoving a space after every ) turned out to suck
Matt S Trout [Mon, 16 Sep 2019 17:45:51 +0000]
in practice, shoving a space after every ) turned out to suck

4 years agomore code cleanup
Matt S Trout [Sat, 14 Sep 2019 02:42:38 +0000]
more code cleanup

4 years agomore formatting cleanup
Matt S Trout [Sat, 14 Sep 2019 02:28:51 +0000]
more formatting cleanup

4 years agocleanup and improve formatting logic
Matt S Trout [Sat, 14 Sep 2019 01:56:42 +0000]
cleanup and improve formatting logic

4 years agobetter indentation and interpolation
Matt S Trout [Mon, 9 Sep 2019 00:21:47 +0000]
better indentation and interpolation

4 years agopresent AS correctly
Matt S Trout [Mon, 9 Sep 2019 00:21:24 +0000]
present AS correctly

4 years agofix indentation and newlines for more cases
Matt S Trout [Mon, 9 Sep 2019 00:02:44 +0000]
fix indentation and newlines for more cases

4 years agoclearer formatting with less pointless whitespace/newlines
Matt S Trout [Sun, 8 Sep 2019 23:56:42 +0000]
clearer formatting with less pointless whitespace/newlines

4 years agoON( now renders correctly as ON (
Matt S Trout [Fri, 6 Sep 2019 02:03:52 +0000]
ON( now renders correctly as ON (

4 years agohandle non-ref internals
Matt S Trout [Fri, 6 Sep 2019 01:47:38 +0000]
handle non-ref internals

4 years agoformatter starts to work
Matt S Trout [Fri, 6 Sep 2019 01:24:58 +0000]
formatter starts to work

4 years agobetter followiung principles
Matt S Trout [Fri, 6 Sep 2019 00:50:08 +0000]
better followiung principles

4 years agomake cast expander stable
Matt S Trout [Tue, 27 Aug 2019 00:49:57 +0000]
make cast expander stable

4 years agobender
Matt S Trout [Sat, 24 Aug 2019 04:18:47 +0000]
bender

4 years agoformat works
Matt S Trout [Sat, 24 Aug 2019 04:13:04 +0000]
format works

4 years agoclean things up and better sqlacexpr
Matt S Trout [Sat, 24 Aug 2019 02:19:31 +0000]
clean things up and better sqlacexpr

4 years agoimproving formatting
Matt S Trout [Sat, 24 Aug 2019 02:16:50 +0000]
improving formatting

4 years agocreate sql part joining control code
Matt S Trout [Tue, 20 Aug 2019 00:45:33 +0000]
create sql part joining control code

4 years agois_op and register_op
Matt S Trout [Mon, 15 Jul 2019 22:06:31 +0000]
is_op and register_op

4 years agoadd CAST() to ExtraClauses
Matt S Trout [Fri, 17 May 2019 02:21:59 +0000]
add CAST() to ExtraClauses

4 years agosmarter sqlacexpr
Matt S Trout [Fri, 17 May 2019 02:21:25 +0000]
smarter sqlacexpr

4 years agoallow plain - to fall through in hashpair expansion
Matt S Trout [Fri, 17 May 2019 02:20:57 +0000]
allow plain - to fall through in hashpair expansion

4 years agoanother update test
John Napiorkowski [Mon, 6 May 2019 18:20:47 +0000]
another update test

4 years agoCTEs with DELETE and having
John Napiorkowski [Fri, 3 May 2019 00:16:45 +0000]
CTEs with DELETE and having

4 years agofix stupid mistake when converting list to qw()
Matt S Trout [Thu, 2 May 2019 20:31:20 +0000]
fix stupid mistake when converting list to qw()

4 years agowith + insert test
Matt S Trout [Thu, 2 May 2019 19:28:46 +0000]
with + insert test

4 years agoit would help if I actually enabled with for non-select statements
Matt S Trout [Thu, 2 May 2019 19:03:05 +0000]
it would help if I actually enabled with for non-select statements

5 years agosurface with_recursive as well
Matt S Trout [Thu, 25 Apr 2019 15:01:18 +0000]
surface with_recursive as well

5 years agoFirst attempt at SQLA2Support
Matt S Trout [Thu, 25 Apr 2019 14:06:36 +0000]
First attempt at SQLA2Support

5 years agoadd with.pm to extras
Matt S Trout [Tue, 23 Apr 2019 00:15:03 +0000]
add with.pm to extras

5 years agolast use of row for non-rowtype
Matt S Trout [Mon, 22 Apr 2019 03:51:57 +0000]
last use of row for non-rowtype

5 years agoeliminate sucky use of row
Matt S Trout [Mon, 22 Apr 2019 03:40:09 +0000]
eliminate sucky use of row

5 years agorebuild convert using extension system
Matt S Trout [Sun, 21 Apr 2019 02:42:50 +0000]
rebuild convert using extension system

5 years agonormalise expansion methods
Matt S Trout [Sun, 21 Apr 2019 02:30:31 +0000]
normalise expansion methods

5 years agomake stability test try and invoke diff
Matt S Trout [Sun, 21 Apr 2019 02:14:51 +0000]
make stability test try and invoke diff

5 years agoexpand alias
Matt S Trout [Sun, 21 Apr 2019 02:00:38 +0000]
expand alias

5 years agorestore expand stability for extraclauses
Matt S Trout [Sat, 20 Apr 2019 02:53:12 +0000]
restore expand stability for extraclauses

5 years agobetter expand stability testing
Matt S Trout [Sat, 20 Apr 2019 02:41:54 +0000]
better expand stability testing

5 years agohandle convert where using expander wrapping
Matt S Trout [Fri, 19 Apr 2019 21:42:30 +0000]
handle convert where using expander wrapping

5 years agomove render statement to parts based
Matt S Trout [Fri, 19 Apr 2019 05:07:55 +0000]
move render statement to parts based

5 years agofinish porting to join_query_parts as arrayref
Matt S Trout [Fri, 19 Apr 2019 05:03:02 +0000]
finish porting to join_query_parts as arrayref

5 years agoextract remaining insert clause expansion handling to methods
Matt S Trout [Fri, 19 Apr 2019 04:14:41 +0000]
extract remaining insert clause expansion handling to methods

5 years agomove render_aqt to arrayref
Matt S Trout [Fri, 19 Apr 2019 03:51:44 +0000]
move render_aqt to arrayref

5 years agoport clause renderers to arrayref convention
Matt S Trout [Fri, 19 Apr 2019 02:09:52 +0000]
port clause renderers to arrayref convention

5 years agofirst step towards arrayref render_aqt return
Matt S Trout [Fri, 19 Apr 2019 02:04:41 +0000]
first step towards arrayref render_aqt return

5 years agomove multop rendering to join_query_parts
Matt S Trout [Fri, 19 Apr 2019 01:56:52 +0000]
move multop rendering to join_query_parts

5 years agofuck wantarray
Matt S Trout [Fri, 19 Apr 2019 01:48:22 +0000]
fuck wantarray

5 years agoclean up join call
Matt S Trout [Fri, 19 Apr 2019 01:43:42 +0000]
clean up join call

5 years agoextract remaining insert clause expansion handling to methods
Matt S Trout [Thu, 18 Apr 2019 18:43:13 +0000]
extract remaining insert clause expansion handling to methods

5 years agoimprove infinite recursion debugging, fix infinite recursion bug
Matt S Trout [Thu, 18 Apr 2019 18:34:52 +0000]
improve infinite recursion debugging, fix infinite recursion bug

5 years agomurder AUTOLOAD by default because I keep getting confused by it while debugging
Matt S Trout [Thu, 18 Apr 2019 13:46:31 +0000]
murder AUTOLOAD by default because I keep getting confused by it while debugging

5 years agothere is a lurking infinite loop in 01generate inserts but this is still better
Matt S Trout [Thu, 18 Apr 2019 03:08:36 +0000]
there is a lurking infinite loop in 01generate inserts but this is still better

5 years agoswitch Abstract.pm renderers to using join_query_parts
Matt S Trout [Thu, 18 Apr 2019 02:32:54 +0000]
switch Abstract.pm renderers to using join_query_parts

5 years agocompact andor
Matt S Trout [Thu, 18 Apr 2019 02:26:29 +0000]
compact andor

5 years agocleanup andor
Matt S Trout [Thu, 18 Apr 2019 02:15:17 +0000]
cleanup andor

5 years agobetween and in cleanup
Matt S Trout [Thu, 18 Apr 2019 02:05:29 +0000]
between and in cleanup

5 years agomake join_query_parts handle scalars
Matt S Trout [Thu, 18 Apr 2019 02:00:53 +0000]
make join_query_parts handle scalars

5 years agofirst keyword move
Matt S Trout [Thu, 18 Apr 2019 02:00:33 +0000]
first keyword move

5 years agomove format_keyword into base sqla
Matt S Trout [Thu, 18 Apr 2019 01:57:42 +0000]
move format_keyword into base sqla

5 years agorow and between
Matt S Trout [Thu, 18 Apr 2019 01:56:10 +0000]
row and between

5 years agomove func rendering over to join_query_parts
Matt S Trout [Thu, 18 Apr 2019 01:45:44 +0000]
move func rendering over to join_query_parts

5 years agotake advantage of join_query_parts to clean up
Matt S Trout [Thu, 18 Apr 2019 01:23:49 +0000]
take advantage of join_query_parts to clean up

5 years agomake the legacy convert feature its own node
Matt S Trout [Thu, 18 Apr 2019 01:14:58 +0000]
make the legacy convert feature its own node

5 years agomore use cleanup, add hashref to join_sql_parts
Matt S Trout [Thu, 18 Apr 2019 01:07:17 +0000]
more use cleanup, add hashref to join_sql_parts

5 years agorename join_clauses to join_query_parts
Matt S Trout [Thu, 18 Apr 2019 00:55:58 +0000]
rename join_clauses to join_query_parts

5 years agoeliminate vestigial length checks
Matt S Trout [Thu, 18 Apr 2019 00:39:14 +0000]
eliminate vestigial length checks

5 years agofixup sigil usage
Matt S Trout [Wed, 17 Apr 2019 02:13:45 +0000]
fixup sigil usage

5 years agoAdded the sql expr scripts I've been using to test
Matt S Trout [Wed, 17 Apr 2019 02:12:28 +0000]
Added the sql expr scripts I've been using to test

5 years agostatement_list and test
Matt S Trout [Wed, 17 Apr 2019 02:01:55 +0000]
statement_list and test

5 years agowrap expander and expander list
Matt S Trout [Wed, 17 Apr 2019 01:32:39 +0000]
wrap expander and expander list

5 years agoconsolidate with_recursive
Matt S Trout [Wed, 17 Apr 2019 01:08:52 +0000]
consolidate with_recursive

5 years agomove setop expansion to generic rather than loop
Matt S Trout [Wed, 17 Apr 2019 01:03:35 +0000]
move setop expansion to generic rather than loop

5 years agomove clause rendering to better calling convention
Matt S Trout [Wed, 17 Apr 2019 00:46:00 +0000]
move clause rendering to better calling convention

5 years agoclean up calling code w/new render convention
Matt S Trout [Tue, 16 Apr 2019 03:52:42 +0000]
clean up calling code w/new render convention

5 years agoclean up calling convention
Matt S Trout [Tue, 16 Apr 2019 03:48:34 +0000]
clean up calling convention

5 years agofix up with clause code - got the parens wrong
Matt S Trout [Tue, 16 Apr 2019 02:14:23 +0000]
fix up with clause code - got the parens wrong

5 years agowith recursive test and bugfixes
Matt S Trout [Tue, 16 Apr 2019 02:10:00 +0000]
with recursive test and bugfixes

5 years agobasic with support
Matt S Trout [Mon, 15 Apr 2019 20:21:59 +0000]
basic with support

5 years agorefactor to add the rest of the setops
Matt S Trout [Mon, 15 Apr 2019 17:28:51 +0000]
refactor to add the rest of the setops

5 years agoLHS of as is interpreted as ident so this is more correct
Matt S Trout [Mon, 15 Apr 2019 16:45:35 +0000]
LHS of as is interpreted as ident so this is more correct

5 years agoswitch keyword formatting to method, fix clause order, add setop infra
Matt S Trout [Mon, 15 Apr 2019 16:34:07 +0000]
switch keyword formatting to method, fix clause order, add setop infra