[Dbix-class] Explicit ASTs (ping nate)
David E. Wheeler
david at kineticode.com
Wed Sep 6 20:36:11 CEST 2006
On Sep 6, 2006, at 10:20, Nate Wiger wrote:
> But revisiting the AST idea, how do you see it being generated? Even
> though it's an interim rep, it still needs to be acted on. If the user
> is just going to call SQL::A::Whatever methods, then it becomes an
> issue
> of whether a formal/exposed AST buys us a big benefit, or whether just
> building a big $self->{query} that we know about internally is
> sufficient.
The idea behind the AST is that a user can use any of a number of
different DWIM interfaces that generate the AST. This will give
people more of a choice of query syntaxes/approaches, and have them
all just work with whatever query generation back-end understands the
AST that they emit.
Best,
David
More information about the Dbix-class
mailing list