Dbi Classement & Résumé
- Nom de l'éditeur:
- Tim Bunce
- Site Internet de l'éditeur:
- http://search.cpan.org/~timb/Module-Dependency-1.86/lib/Module/Dependency/Indexer.pm
Dbi Mots clés
Dbi La description
Une interface indépendante de la base de données pour Perl DBI est une interface indépendante de la base de données pour Perl.Synopsis Utiliser DBI; @Driver_Names = DBI-> Disponible_Drivers; % pilotes = DBI-> INSTOYÉ_DROITS; @Data_Sources = DBI-> DATA_SOURCES (NOM $ Driver_Name,% attr); $ dbh = dbi-> Connect ($ data_source, $ nom d'utilisateur, $ auth,% attr); $ rv = $ dbh-> do ($ déclaration); $ RV = $ dbh-> do ( déclaration,% attr); $ RV = $ dbh-> do ($ déclaration,% attr, @bind_values); $ ary_ref = $ dbh-> selectall_arrayref ( déclaration); $ hash_ref = $ dbh-> selectallall_hashref ($ déclaration, $ key_field); $ ary_ref = $ dbh-> selectcol_arrayref ( déclaration); $ ary_ref = $ dbh-> selectcol_arrayref ( déclaration,% attr); @row_ary = $ dbh-> selectrow_array ($ déclaration); $ ary_ref = $ dbh-> selectrow_arrayref ( déclaration); $ hash_ref = $ dbh-> selectrow_hashref ( déclaration); $ qth = $ dbh-> préparer ($ déclaration); $ qth = $ dbh-> préparer_caches ($); $ rc = $ sth-> bind_param ($ p_num, $ bind_value); $ rc = $ sth-> bind_param ($ p_num, $ bind_value, $ bind_type); $ rc = $ sth-> bind_param ($ p_num, $ bind_value,% attr); $ rv = $ sth-> exécuter; $ RV = $ STH-> exécuter (@bind_values); $ RV = $ STH-> Execute_array (% attr, ...); $ rc = $ sth-> bind_col ($ col_num, $ col_variable); $ rc = $ sth-> bind_columns (@List_of_refs_to_vars_to_bind); @row_ary = $ STH-> fetchrow_array; $ ary_ref = $ sth-> fetchrow_arrayref; $ hash_ref = $ q-> fetchrow_hashref; $ ary_ref = $ sth-> fetchall_arrayref; $ ary_ref = $ sth-> fetchall_arrayref ($ tranche, $ max_rows); $ hash_ref = $ sth-> fetchall_hashref ($ key_field); $ rv = $ sth-> lignes; $ rc = $ dbh-> begin_work; $ rc = $ dbh-> commettre; $ rc = $ DBH-> Rollback; $ citer_string = $ dbh-> citer ($ string); $ rc = $ h-> err; $ str = h--> errstr; $ rv = $ h--> état; $ rc = $ dbh-> déconnecter; Exigences: · Perl
Dbi Logiciels associés