okvpn/dql-filter
Composer 安装命令:
composer require okvpn/dql-filter
包简介
Dql segment filter for OroPlatform
关键字:
README 文档
README
DQL Segment filter for OroPlatform.
DQL stands for Doctrine Query Language that provides powerful querying capabilities over your object model.
Default query generator behavior of adding filters from segment relations with ( WHERE EXSIST (..)) sql sentence create very unperformant queries for database. So dql filter it’s the most flexible way to search for entities and is for everyone: developers sale managers and even non-technical business users.
Installation
composer require okvpn/dql-filter
Example
- Select entities with source "other" and gender is not null
WHERE rootEntity.source = 'other' AND rootEntity.gender IS NOT NULL
- Select all contacts that have the primary address with region AR-B or AR-F and gender is male
JOIN rootEntity.addresses a WITH a.primary = true AND a.region IN ('AR-B', 'AR-F') WHERE rootEntity.gender = 'male'
License
MIT License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-03