add support of queries in list indexes

This commit is contained in:
Prateek Banga authored and prateek banga committed 2023-07-27 01:19:48 +05:30
1 parent 165268cb71
commit a6abc7c4e8
3 files changed
+69 -16

No files matched your search

@@ -0,0 +1,21 @@
<?php
namespace Appwrite\Utopia\Database\Validator\Queries;
class Indexes extends Base
{
public const ALLOWED_ATTRIBUTES = [
'key',
'type',
'status',
];
/**
* Expression constructor
*
*/
public function __construct()
{
parent::__construct('attributes', self::ALLOWED_ATTRIBUTES);
}
}