| DBI. uma interface independente do banco de dados para Perl |
Baixe Agora |
DBI. Classificação e resumo
- Nome do editor:
- Tim Bunce
- Site do editor:
- http://search.cpan.org/~timb/Module-Dependency-1.86/lib/Module/Dependency/Indexer.pm
DBI. Tag
DBI. Descrição
Uma interface independente do banco de dados para Perl O DBI é uma interface independente do banco de dados para o Perl.Synopsis usa o DBI; @driver_names = dbi-> Disponível_Drivers; % drivers = DBI-> INSTALADO_DRIVES; @data_sources = dbi-> data_sources ($ driver_name,% attr); $ dbh = dbi-> conectar ($ data_source, $ username, $ auth,% attr); $ RV = $ DBH-> Declaração de $); $ rv = $ dbh-> DO (Declaração $,% attr); $ RV = $ DBH-> DO (Declaração $,% Attr, @bind_Values); $ ary_ref = $ dbh-> selectall_arrayref (extrato $); $ hash_ref = $ dbh-> selectall_hashref (extrato $, $ key_field); $ ary_ref = $ dbh-> selectcol_arrayref (extrato $); $ ary_ref = $ dbh-> selectcol_arrayref (extrato $,% attr); @row_ary = $ dbh-> selectrow_array (declaração $); $ ARY_REF = $ dbh-> selectrow_arrayref (extrato $); $ hash_ref = $ dbh-> selectrow_hashref (extrato $); $ sth = $ dbh-> preparar (declaração $); $ sth = $ dbh-> Prepare_Cached (declaração $); $ 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-> executar; $ rv = $ sth-> execute (@bind_Values); $ rv = $ sth-> execute_array (% attr ...); $ rc = $ sth-> bind_col ($ col_num, $ col_varible); $ rc = $ sth-> bind_columns (@list_of_refs_to_vars_to_bind); @row_ary = $ sth-> fetchrow_array; $ ary_ref = $ sth-> fetchrow_arrayref; $ hash_ref = $ sth-> fetchrow_hashref; $ ary_ref = $ sth-> fetchall_arrayref; $ ary_ref = $ sth-> fetchall_arrayref ($ fatia, $ max_rows); $ hash_ref = $ sth-> fetchall_hashref ($ key_field); $ rv = $ sth-> linhas; $ rc = $ dbh-> begin_work; $ rc = $ dbh-> commit; $ rc = $ dbh-> reversão; $ cited_string = $ dbh-> citação ($ string); $ rc = $ h-> err; $ str = $ h-> erstr; $ rv = $ h-> estado; $ rc = $ dbh-> desconexão; Requisitos: · Perl.
DBI. Software Relacionado