Re: SQL AST

[email protected] (Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯) Sat, 30 May 2020 16:35:22 +0200 <[email protected]>
Newsgroups perl.module-authors
Message-ID <[email protected]>
I can't run the code, the dist has many undeclared/unpublished
dependencies. I would likely have more useful things to say about it if
I could run it.

> I need some feedback on wether you think it will be something that's
> useful.

Yes, but in a limited fashion: for people who require familiarity with
the Arel API or want to port code that uses Arel.

If I were to design an AST that aims to please everyone, I would give
it a plumbing and porcelain layer, both user accessible, and the
plumbing layer would map very closely to the parse tree, and the
porcelain would be a set of the features available in Arel, jooq,
sqlalchemy, linq etc.

> but all of them based on hash structures.

I agree that they are ripe for displacement. I have looked into this
topic before and found that DBIC is coupled quite tightly to
SQL::Abstract. If you want instant adoption from a large userbase, aim
to work so that DBIC can choose between SQL generators.

You have not picked a proper name yet. I think SQL::Arel is fine,
that's what the Pod name section already hints at.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEMyq1FG5k9SFemJXi7lkEJKTE1yAFAl7SbyoACgkQ7lkEJKTE
1yAD/Q/8DrxQDLhXVKW4/nhZBPrFDCMYuKhyCkXmCjAUb+/SB3a5v0Hk0JWWf5jS
qdPcLJyipVuectuZEL0is8kFzvE+3Zf+7JVvn5lcsLKGKWs3P0JY1N/vq+UP7g47
phi5T+5n4MmKneLE0LJFkNSAiSivvgpz3kX6GZVZrcgWvNcgpauwGPdd2Hd69vNv
OI71G72F0yKRsdR0GC+a6dr9pdOJawVnWL5zYU2u/NeLIVAkzUax7uFeSBy3Wh/o
IEFcxNEd35S22I6/r/9BOyF2l1f1cBBbWRsAI34FDrEiiaGgZ9zT+q0poFyvAQRs
QucdmISb/imS/E446I360tIrORe5Xf9svsM2Pdffz2JtQYnr/YMaxv8k9kMOK4op
H9D48nhaFjBGRiy3/ARVwo0Sj4Akv+6UyWc8ENDHuVTe50e/YZ3FvsHaT8bnLVqn
AQybAlvk+W46pOJtnEXOPx/livyAtMv5EmiBHAO4OWE/VVKr89rKI7YFOZUnt4n4
ZI0+ur0eOATtBpTpcc5QqgURbeezsnxhYdpf86wLUFhvEsjtlt2AJLok7kxNPIum
J2X/YtnGkpVzfI4mZsqYB12iXZgvDXI+zvifpZG92l+p+KYPhzs/U9CS8QVhCJ7p
0OaGel30OXhtBJC0d/SaRV7Wmpj7lVO0XnTm6DmAJZoeDIkRY/Q=
=3fac
-----END PGP SIGNATURE-----