Google-Cloud-Datastore-V1
view release on metacpan or search on metacpan
lib/Google/Datastore/V1/Datastore.pm view on Meta::CPAN
This must be an integer or a double value.
If the property is not an integer or double, or if the property does not
yet exist, the transformation will set the property to the given value.
If a maximum operation is applied where the property and the input value
are of mixed types (that is - one is an integer and one is a double)
the property takes on the type of the larger operand. If the operands are
equivalent (e.g. 3 and 3.0), the property does not change.
0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
zero input value is always the stored value.
The maximum of any numeric value x and NaN is NaN.
=item * C<< $msg->minimum() >> / C<< $msg->minimum($value) >>
Type: C<Message> (L<Google::Datastore::V1::Entity::Value>)
Sets the property to the minimum of its current value and the given
value.
This must be an integer or a double value.
If the property is not an integer or double, or if the property does not
yet exist, the transformation will set the property to the input value.
If a minimum operation is applied where the property and the input value
are of mixed types (that is - one is an integer and one is a double)
the property takes on the type of the smaller operand. If the operands
are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0,
and -0.0 are all zero. The minimum of a zero stored value and zero input
value is always the stored value. The minimum of any numeric value x and
NaN is NaN.
=item * C<< $msg->append_missing_elements() >> / C<< $msg->append_missing_elements($value) >>
Type: C<Message> (L<Google::Datastore::V1::Entity::ArrayValue>)
Appends the given elements in order if they are not already present in
the current property value.
If the property is not an array, or if the property does not yet exist,
it is first set to the empty array.
Equivalent numbers of different types (e.g. 3L and 3.0) are
considered equal when checking if a value is missing.
NaN is equal to NaN, and the null value is equal to the null value.
If the input contains multiple equivalent values, only the first will
be considered.
The corresponding transform result will be the null value.
=item * C<< $msg->remove_all_from_array() >> / C<< $msg->remove_all_from_array($value) >>
Type: C<Message> (L<Google::Datastore::V1::Entity::ArrayValue>)
Removes all of the given elements from the array in the property.
If the property is not an array, or if the property does not yet exist,
it is set to the empty array.
Equivalent numbers of different types (e.g. 3L and 3.0) are
considered equal when deciding whether an element should be removed.
NaN is equal to NaN, and the null value is equal to the null value.
This will remove all equivalent values if there are duplicates.
The corresponding transform result will be the null value.
=back
=head3 Enum: PropertyTransform::ServerValue
=over 4
( run in 1.672 second using v1.01-cache-2.11-cpan-60884a8df76 )