Skip to content

Commit 134931e

Browse files
author
Walter Poupore
committed
Excludes a property from indexes (for docs)
1 parent 5ca200b commit 134931e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

datastore/sample.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def properties
8888
t["priority"] = 4
8989
t["percent_complete"] = 10.0
9090
t["description"] = "Learn Cloud Datastore"
91+
t.exclude_from_indexes! "description", true
9192
end
9293
# [END properties]
9394
end

0 commit comments

Comments
 (0)