2017 © Pedro Peláez
 

project dosql

dosql is a class which has sealed the generic operate of mysql databases

image

hengyuz/dosql

dosql is a class which has sealed the generic operate of mysql databases

  • Wednesday, September 7, 2016
  • by HengYuZ
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dosql

简介

Dosql是一个简单的mysql操作数据库封装类。

使用

新建一个composer.json文件 { "require":{ "php":">=5.3.0", "hengyuz/dosql":"dev-master" }, "minimum-stability":"stable" } 然后保存composer.json文件后,使用composer install 命令进行安装。, (*1)

然后使用命令: cd vendor/hengyu/dosql;, (*2)

简单使用可以参照show.php。, (*3)

更多用法:

Dosql不使用组合条件: 1. $dosql->select('user','',''); 2. $dosql->select('user','',['id='=>9]); Dosql支持组合条件使用: 1. $dosql->select('tb_name',['name','id'],['AND'=>[['id='=>9],['name'=>'hengyu']); 2. $dosql->select('tb_name',['name','id'],['AND'=>['OR'=>[['id='=>9],['name='=>'hengyu']],'OR'=>[['id='=>5],['name='=>'zhu']]]];, (*4)

The Versions

07/09 2016

dev-master

9999999-dev

dosql is a class which has sealed the generic operate of mysql databases

  Sources   Download

MIT

by Avatar HengYuZ