mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
update: model.
This commit is contained in:
1 parent
1c87e765de
commit
2994cdf874
1 file changed
+6
-1
@@ -36,6 +36,12 @@ class Row extends Any
|
||||
'default' => '',
|
||||
'example' => '5e5ea5c16897e',
|
||||
])
|
||||
->addRule('$sequence', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Row automatically incrementing ID.',
|
||||
'default' => 0,
|
||||
'example' => 1,
|
||||
])
|
||||
->addRule('$tableId', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Table ID.',
|
||||
@@ -71,7 +77,6 @@ class Row extends Any
|
||||
|
||||
public function filter(DatabaseDocument $document): DatabaseDocument
|
||||
{
|
||||
$document->removeAttribute('$internalId');
|
||||
$document->removeAttribute('$collection');
|
||||
$document->removeAttribute('$tenant');
|
||||
|
||||
|
||||
Reference in new issue
Block a user