PoE :: Component :: easydbi

PERL-extensie voor asynchrone niet-blokkering DBI-oproepen in POE
Download nu

PoE :: Component :: easydbi Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • David Davis
  • Uitgever website:
  • http://search.cpan.org/~xantus/POE-Component-Proxy-MSN-0.02/lib/POE/Component/Proxy/MSN.pm

PoE :: Component :: easydbi Tags


PoE :: Component :: easydbi Beschrijving

Perl-extensie voor asynchrone niet-blokkering DBI-oproepen in PoE POE :: COMPONENT :: easydbi is een PERL-module voor asynchrone niet-blokkering DBI-oproepen in POE.Synopsis Gebruik POE QW (Component :: Easydbi); # Instel de DBI PoE :: Component :: easydbi-> spawn (# of nieuw (), heks retourneert een obj alias => 'Easydbi', DSN => 'DBI: MySQL: Database = foobaz; host = 192.168.1.100 ; poort = 3306 ', gebruikersnaam =>' Gebruiker ', wachtwoord =>' Pass ', opties => {Autocommit => 0,},); # Creëer onze eigen sessie om te communiceren met Easydbi Poe :: Session-> Maken (Inline_states => {_start => sub {$ _ -> Post ('easydbi', do => {sql => 'Tabelgebruikers maken (ID INT, gebruikersnaam VARCHAR (100) ', gebeurtenis =>' tabel_created ',});}, tabel_created => sub {$ _ -> Post (' Easydbi ', Insert => {# Multiple Inserts Insert = > ,},); $ _ -> Post ('EasyDBI' => 'commit'); $ _ -> Post ('Easydbi' => 'shutdown');},},); $ poe_kernel-> run ( ); Vereisten: · Perl


PoE :: Component :: easydbi Gerelateerde software