mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Upgrade listTeams queries
This commit is contained in:
1 parent
d1f6cb31d6
commit
6c971f6ece
2 files changed
+45
-17
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Utopia\Database\Validator\Queries;
|
||||
|
||||
use Appwrite\Utopia\Database\Validator\Queries\Collection;
|
||||
|
||||
class Teams extends Collection
|
||||
{
|
||||
public const ALLOWED_ATTRIBUTES = [
|
||||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
'name',
|
||||
'total'
|
||||
];
|
||||
|
||||
/**
|
||||
* Expression constructor
|
||||
*
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('teams', self::ALLOWED_ATTRIBUTES);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user