netflex/query-builder
最新稳定版本:v6.7.3
Composer 安装命令:
composer require netflex/query-builder
包简介
Netflex QueryBuilder library
README 文档
README
[READ ONLY] Subtree split of the Netflex Query component (see netflex/framework)
A library for building complex search queries for the Netflex API using a fluent builder-pattern.
Installation
composer require netflex/query-builder
Usage example
<?php use Netflex\Query\Builder; $query = new Builder(); $query->relation('entry', 10000) ->where('id', '>=', 10100) ->where('author', '!=', null) ->orWhere(function ($query) { $query->where('id', '<', 10100) ->where('author', '=', 'John Doe'); }); $items = $query->limit(100) ->fields(['id', 'name', 'author']) ->orderBy('name', 'desc') ->get(); $page = $query->paginate(25);
Contributing
Thank you for considering contributing to the Netflex QueryBuilder! Please read the contribution guide.
Code of Conduct
In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.
License
The Netflex QueryBuilder is open-sourced software licensed under the MIT license.
Copyright © 2020 Apility AS
统计信息
- 总下载量: 3.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 12
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-15