AllowWriteModelValidationQuery class
Allows all writing (creating, updating, and deleting documents).
書き込み(ドキュメントの作成、更新、削除)をすべて許可します。
Define the validation query to be used by DatabaseValidator.
Basically, if a listing exists on ModelQuery, permissions are specified in a white list format.
You can specify attributes to allow by specifying permission or user.
DatabaseValidatorで使用するバリデーションクエリを定義します。
基本的にはModelQuery上でリストが存在している場合、ホワイトリスト形式でパーミッションが指定されます。
permissionやuserを指定して許可をする属性を指定できます。
- Inheritance
-
- Object
- ModelValidationQuery
- AllowWriteModelValidationQuery
- Available Extensions
Constructors
- AllowWriteModelValidationQuery.allUsers()
-
Allows all writing (creating, updating, and deleting documents).
const
- AllowWriteModelValidationQuery.authUsers()
-
Allows all writing (creating, updating, and deleting documents).
const
- AllowWriteModelValidationQuery.userFromData(String key)
-
Allows all writing (creating, updating, and deleting documents).
const
- AllowWriteModelValidationQuery.userFromPathIndex(int key)
-
Allows all writing (creating, updating, and deleting documents).
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Object?
-
Specify the target key to be used in ModelValidationQueryUserType.
finalinherited
- permission → ModelValidationQueryPermissionType
-
Specifies the permission type for validation.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → ModelValidationQueryUserType
-
Specify the target user for which you want to specify ModelValidationQueryPermissionType.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited