It presents a clean object-oriented interface on top of the procedural DBI layer.
它在过程化的dbi层之上提供了一个完全面向对象的接口。
It「s certainly more appealing than custom triggers, but it may stop working if Class: : DBI stops supporting it.
这当然比定制触发器更具吸引力,但如果Class:DBI不再支持它,则这将不再有效。
DBI lets you set a maximum number of bytes to retrieve on each fetch using the LongReadLen connection attribute.
DBI让我们可以使用LongReadLen连接属性来设置每次fetch可以检索的最大字节数。
See the 「perltoot」 and DBI perldoc pages.
参阅「perltoot 」和DBIperldoc页面。
In order to return the SQLCODE associated with a Perl DBI database handle or statement handle, you can call the err method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLCODE,可以调用err方法。
In order to return the SQLSTATE associated with a Perl DBI database handle or statement handle, you can invoke the state method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLSTATE,可以调用state方法。
The END() subroutine executes when the script terminates and ensures that a DBI error message about not explicitly disconnecting from the database doesn」t occur.
当脚本终止并且确保没有出现关于数据库未显式分离的DBI错误消息时,END()子例程就会执行。
There is a note following the install directions on these variables if they are required to get ppm to install the DBI module.
如果必须使用ppm变量来安装DBI模块,那么在安装说明之后会有关于这些变量的注意事项。
DBI driver can be used for any RDBMS.
DBI驱动程序(可以用于任何RDBMS)。
The errstr method returns a message for an SQLCODE associated with a Perl DBI database handle or statement handle.
errstr方法返回与某个PerlDBI数据库句柄或语句句柄相关的SQLCODE的消息。
In this article we「ll use the Class: : DBI CPAN module to manage database tables (more on that in the next section).
在本文中,我们将使用Class:DBICPAN模块来管理数据库的表(下一节将进行详细介绍)。
The file Equation.pm contains all the code necessary to inherit from a Persistent: : DBI class.
文件equation . pm包含从Persistent:dbi类继承所需的所有代码。
DBI defines methods, variables and conventions for database access.
DBI定义了访问数据库的方法、变量以及约定。
Numerous DBDs are available for a variety of databases and access to each database requires using the DBI and the database specific DBD.
有多种可用于各种数据库的DBD,要访问某一个数据库,需要同时使用DBI和特定于数据库的DBD。
What」s great about MySQL is that using the DBI handle's mysql_insertid attribute makes it is easy to identify the last insert ID used.
MySQL 巧妙的地方在于,使用DBI 句柄的 mysql_insertid属性可以容易地确定最近使用的插入ID。
Chapter 14, which discusses database access, has been expanded but does not mention the Class: : DBI module.
第14章讨论了数据库的访问,已经被扩展,但没有涉及Class:DBI模块。
Check with the Class: : DBI site to see if the standard solution has been released.
查阅Class:DBI站点,了解是否已经发布了标準的解决方案。