We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To set a State this syntax is required:
"State" => "/state/" It would be convenient if a name can be used instead.
It is possible to query State, create a hash, and populate the hash with the query results, where State Name is the key and State _ref is the value:
state_results.each do |s| s.read state_hash[s["Name"]] = s["_ref"] end Then we can update a State:
features.each do |f| field_updates={"State" => state_hash["Developing"]} f.update(field_updates) end
A convenience method to make this transparent for the users would be nice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To set a State this syntax is required:
"State" => "/state/"
It would be convenient if a name can be used instead.
It is possible to query State, create a hash, and populate the hash with the query results, where State Name is the key and State _ref is the value:
state_results.each do |s|
s.read
state_hash[s["Name"]] = s["_ref"]
end
Then we can update a State:
features.each do |f|
field_updates={"State" => state_hash["Developing"]}
f.update(field_updates)
end
A convenience method to make this transparent for the users would be nice.
The text was updated successfully, but these errors were encountered: