| SQL :: Abstract :: Limit SQL :: Abstract :: Limit è un'emulazione limite portatile. |
Scarica ora |
SQL :: Abstract :: Limit Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- David Baird
- Sito web dell'editore:
- http://search.cpan.org/~davebaird/Tree-Authz-0.03/lib/Tree/Authz.pm
SQL :: Abstract :: Limit Tag
SQL :: Abstract :: Limit Descrizione
SQL :: Abstract :: Limit è un'emulazione limite portatile. SQL :: Abstract :: Limit è un limite limite portatile Emulation.Synopsis Utilizzare SQL :: Abstract :: Limit; My $ SQL = SQL :: Abstract :: Limit-> NUOVO (LIMIT_DIALECT => 'LIMITOFSET') ;; # o autodetect da un DBI $ DBH: My $ SQL = SQL :: Abstract :: Limit-> NOVITÀ (limite_Dialect => $ DBH); # o da una classe :: Classe DBI: My $ SQL = SQL :: Abstract :: Limit-> NOVITÀ (LIMIT_DIALECT => 'My :: CDBI :: App'); # o oggetto: My $BJ = My :: CDBI :: App-> Recupera ($ ID); My $ SQL = SQL :: Abstract :: Limit-> New (limite_dialect => $BJ); # Genera SQL: My ($ stmt, @bind) = $ sql-> Seleziona ($ tabella, @fields,% dove, @order, $ limite, $ offset); # Allora, usa questi nelle tue istruzioni DBI my $ sth = $ dbh-> prepara ($ stmt); $ sth-> execute (@bind); # Genera solo la clausola WHERE (disponibile solo per alcune sintassi) My ($ stmt, @bind) = $ sql-> dove (% dove, @order, $ limite, $ offset); Requisiti: · Perl.
SQL :: Abstract :: Limit Software correlato