dbix-struct:带类的便捷SQL函数

时间:2021-05-05 22:17:51
【文件属性】:
文件名称:dbix-struct:带类的便捷SQL函数
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-05 22:17:51
Perl 名称 DBIx :: Struct-具有类:: Struct的行对象的便捷SQL函数 概要 use DBIx::Struct; DBIx::Struct::connect($data_source, $username, $auth); my $row = one_row("table", $idField); print $row->field; $row->field('new data'); $row->update; my $rows = all_rows("table", {field => "some data"}); print $rows->[0]->field; 描述 从Perl数据结构进行SQL查询。 它使用模块来解析“ where”和“ order by”结构。 此模块不试图映射所有可能SQL功能,Perl的结构,但它大大简化了非常简单和最常用的场景。 也可以进行复杂
【文件预览】:
dbix-struct-master
----Changes(293B)
----t()
--------TestConnector.pm(9KB)
--------01basic.t(4KB)
----README.pod(2KB)
----LICENSE(9KB)
----lib()
--------DBIx()
----cpanfile(216B)
----Makefile.PL(928B)
----MANIFEST(148B)

网友评论