Skip to content

Commit bc03749

Browse files
authored
Merge pull request #33 from WalterHub/working
Excludes a property from indexes (for docs)
2 parents 5ca200b + 134931e commit bc03749

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)