mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Pull changes
This commit is contained in:
@@ -18,7 +18,6 @@ use Utopia\Database\Query;
|
||||
use Utopia\Database\Validator\Query\Cursor;
|
||||
use Utopia\Platform\Action;
|
||||
use Utopia\Swoole\Response as SwooleResponse;
|
||||
use Utopia\Validator;
|
||||
use Utopia\Validator\Boolean;
|
||||
use Utopia\Validator\Text;
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ use Utopia\Database\Exception\Query as QueryException;
|
||||
use Utopia\Database\Query;
|
||||
use Utopia\Database\Validator\Query\Cursor;
|
||||
use Utopia\Platform\Scope\HTTP;
|
||||
use Utopia\Validator;
|
||||
use Utopia\Validator\Boolean;
|
||||
use Utopia\Validator\Text;
|
||||
|
||||
|
||||
@@ -11,23 +11,15 @@ class V22 extends Filter
|
||||
{
|
||||
public function parse(array $content, string $model): array
|
||||
{
|
||||
var_dump('=========================');
|
||||
var_dump($model);
|
||||
|
||||
if (isset($content['queries'])){
|
||||
var_dump('=== queries ===');
|
||||
var_dump($content['queries']);
|
||||
if (isset($content['queries'])) {
|
||||
$content = $this->convertSelectQueries($content);
|
||||
}
|
||||
|
||||
var_dump('=========================');
|
||||
return $content;
|
||||
}
|
||||
|
||||
private function convertSelectQueries(array $content): array
|
||||
{
|
||||
var_dump('convertQueries');
|
||||
|
||||
if (!isset($content['queries'])) {
|
||||
return $content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user