Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
static FieldValue |
FieldValue.arrayRemove(Object... elements)
Returns a special value that can be used with set(), create() or update() that tells the server
to remove the given elements from any array value that already exists on the server.
|
static FieldValue |
FieldValue.arrayUnion(Object... elements)
Returns a special value that can be used with set(), create() or update() that tells the server
to union the given elements with any array value that already exists on the server.
|
static FieldValue |
FieldValue.delete()
Returns a sentinel used with update() to mark a field for deletion.
|
static FieldValue |
FieldValue.increment(double d)
Returns a special value that can be used with set(), create() or update() that tells the server
to increment the field's current value by the given value.
|
static FieldValue |
FieldValue.increment(long l)
Returns a special value that can be used with set(), create() or update() that tells the server
to increment the field's current value by the given value.
|
static FieldValue |
FieldValue.serverTimestamp()
Returns a sentinel used with set() or update() to include a server-generated timestamp in the
written data.
|
Copyright © 2019 Google LLC. All rights reserved.