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

datastore: separated property names from operators #1069

Merged
merged 1 commit into from
Jan 19, 2016
Merged

datastore: separated property names from operators #1069

merged 1 commit into from
Jan 19, 2016

Conversation

callmehiphop
Copy link
Contributor

Breaking changes ahead!

closes #1062
closes #1061

There are two methods within datastore that combine property names with operators when building queries, this PR moves the operators to a separate parameter.

@krisnye - If you don't mind, please take a look! :)

@callmehiphop callmehiphop added the api: datastore Issues related to the Datastore API. label Jan 19, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 19, 2016
@@ -159,7 +157,10 @@ Query.prototype.hasAncestor = function(key) {
*
* @resource [Datastore Sort Orders]{@link https://cloud.google.com/datastore/docs/concepts/queries#Datastore_Sort_orders}
*
* @param {string} property - Optional operator (+, -) and property to order by.
* @param {string} property - The property to order by.
* @param {object} options - Options object.

This comment was marked as spam.

This comment was marked as spam.

set default filter operator to equals
@stephenplusplus
Copy link
Contributor

LGTM!

stephenplusplus added a commit that referenced this pull request Jan 19, 2016
datastore: separated property names from operators
@stephenplusplus stephenplusplus merged commit ed30ea6 into googleapis:master Jan 19, 2016
@krisnye
Copy link

krisnye commented Jan 21, 2016

Looks good. Impressed by the quick response and fix.

sofisl pushed a commit that referenced this pull request Jan 17, 2023
* build(samples test): added imageContext to ImprovedRequest

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
4 participants