Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Entity and List property support #29

Merged
merged 4 commits into from
Nov 21, 2014
Merged

Add Entity and List property support #29

merged 4 commits into from
Nov 21, 2014

Conversation

blowmage
Copy link
Contributor

Enable an Entity to persist a list of values in a property value, as well as store another Entity as a property value.

end # TODO: entity, list_value
elsif Array === value
v.list_value = value.map { |item| to_proto_value item }
end

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -40,6 +40,11 @@ def initialize method, response = nil
end

##
# Raised when a property is not correct.
class PropertyError < Gcloud::Datastore::Error

This comment was marked as spam.

This comment was marked as spam.

silvolu added a commit that referenced this pull request Nov 21, 2014
Add Entity and List property support
@silvolu silvolu merged commit b6ecf33 into googleapis:master Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants