2 Star 4 Fork 0

redraiment / phpActiveRecord

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
test-group-count.php 236 Bytes
一键复制 编辑 原始数据 按行查看 历史
redraiment 提交于 2015-07-08 07:37 . 测试数据库
<?php
require_once('activerecord.php');
require_once('unit-test.php');
$db = DB::open('pgsql:host=127.0.0.1;dbname=zombie;', 'dba', '');
$Zombie = $db->zombies;
$sql = $Zombie->select('count(*) as size')->one();
var_dump($sql->size);
PHP
1
https://gitee.com/redraiment/phpActiveRecord.git
git@gitee.com:redraiment/phpActiveRecord.git
redraiment
phpActiveRecord
phpActiveRecord
master

搜索帮助