承接 dapepe/microdb 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dapepe/microdb

最新稳定版本:1.0.8

Composer 安装命令:

composer require dapepe/microdb

包简介

A minimalistic DB abstraction layer for MySQL and PostgreSQL

README 文档

README

Example

Example:

include './lib/microdb/src/connector.php';
include './lib/microdb/src/postgresql.php';

$db = new MicroDB\PostgreSQL('127.0.0.1', 'myuser', 'mypassword', 'mydb');

foreach ($db->tables() as $tableId) {
	echo 'Scanning '.$tableId."\n";
	print_r($db->table($tableId)->fields());
}

License

Copyright (C) 2008 - 2014 Peter Haider

This work is licensed under the GNU Lesser General Public License (LGPL) which should be included with this software. You may also get a copy of the GNU Lesser General Public License from http://www.gnu.org/licenses/lgpl.txt.

统计信息

  • 总下载量: 109
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2014-12-04