krilo89/jsonapi-rql-finder-bundle

jsonapi-bundle-rql-finder 为 paknahad/jsonapi-bundle 提供了 RQL 过滤语法。

安装数: 2,506

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 4

类型:symfony-bundle

3.0.2 2022-05-12 09:08 UTC

This package is auto-updated.

Last update: 2024-09-12 14:24:53 UTC


README

https://packagist.org.cn/packages/krilo89/jsonapi-rql-finder-bundle https://github.com/krilo89/jsonapi-rql-finder-bundle

jsonapi-bundle-rql-finder

paknahad/jsonapi-bundle 提供的 RQL 查找器。

此包只是 paknahad/jsonapi-bundleandreas-glaser/doctrine-rql 之间的链接

安装

composer require krilo89/jsonapi-rql-finder-bundle

将以下行添加到 config/bundles.php

Krilo89\JsonApiRqlFinderBundle\Krilo89JsonApiRqlFilterBundle::class => ['all' => true],

使用方法

在查询中包含 RQL 过滤器,参数为 rql=

https:///api/yourendpoint?rql=RQL string.

有关 RQL 字符串的文档,请参阅 https://github.com/xiag-ag/rql-parser/