External means you need an interpreter (parser + compiler) for a string holding SQL.
Internal means chaining/cascading Perl functions/methods with "SQL-like" names and semantics in combination with Perl builtins like shown before.
I prefer the latter.
> I mean SELECTs of not more than moderate complexity.
Please gimme some explicit examples of those SQLs of "moderate complexity" and I'll be pleased to show an internal DSL approach built on FP.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^3: search data structures using SQL ( FP, int DSL)
by LanX
in thread search data structures using SQL
by jdporter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |