Download the PHP package mix/sharding-query without Composer
On this page you can find all versions of the php package mix/sharding-query. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mix/sharding-query
More information about mix/sharding-query
Files in mix/sharding-query
Download mix/sharding-query
More information about mix/sharding-query
Files in mix/sharding-query
Vendor mix
Package sharding-query
Short Description 数据库分表分页查询库 (不依赖框架)
License Apache-2.0
Homepage https://github.com/mix-basic/Sharding-Query
Package sharding-query
Short Description 数据库分表分页查询库 (不依赖框架)
License Apache-2.0
Homepage https://github.com/mix-basic/Sharding-Query
Please rate this library. Is it a good library?
Informations about the package sharding-query
ShardingQuery
分表数据查询类
安装
使用 composer
安装:
使用方法
ThinkPHP 5 的范例,支持任何框架,只需修改 query
参数的闭包代码。
全部参数:
query
:执行 sql 返回结果的闭包,接收一个 $sql 参数,返回查询结果。table
:要查询的多个同构表的清单,数组类型。field
:select 选择的列名,字符串类型。innerJoin
:join信息,数组类型。leftJoin
:join信息,数组类型。where
:查询条件,字符串类型。order
:排序,字符串类型。offset
:偏移数,整数类型。limit
:限制数,整数类型。
License
Apache License Version 2.0, http://www.apache.org/licenses/
All versions of sharding-query with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package mix/sharding-query contains the following files
Loading the files please wait ....