Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Announcing: DBIx::PreQL - Less terrible dynamic SQL

by TGI (Vicar)
on Sep 19, 2012 at 19:49 UTC ( #994508=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      Tag   Meaning
      ----|----------------------
    ...
       |    Include line if ANY parameters and dependencies are true.
       #    Never include line, i.e. this line is a comment
    
  2. or download this
      Symbol | Meaning           | Example | In Query     | Bind Var
     --------|-------------------|---------|--------------|----------  
      ??       Named Placeholder  ?foo?      '?'            YES
      !!       Dependency         !foo!      Empty string   NO
      !~!      Negated Dependency !~foo!     Empty string   NO      
    
  3. or download this
    
    my $sql = <<'END';
    ...
        },
    );
    
  4. or download this
    SELECT
        some, 
    ...
    OFFSET ?
    
    BINDVARS:   'Foolike', 'Barlike', 3, 30
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://994508]
Approved by MidLifeXis
Front-paged by MidLifeXis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2014-09-02 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls