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

How do you properly use the where clause? #4

Open
cwoodland opened this issue Jun 15, 2018 · 6 comments
Open

How do you properly use the where clause? #4

cwoodland opened this issue Jun 15, 2018 · 6 comments

Comments

@cwoodland
Copy link

How do you properly use the where clause?

And when will a 1.0 be out for this project??

Thanks

@gregjesl
Copy link
Owner

@cwoodland Although I haven't finished the documentation yet, the unit tests are stable. Take a look at the unit test for the where step.

The 'where' step can take one of two inputs: a sub-query or a predicate. A sub-query is created by calling the CreateSubQuery() method on the base traversal (the traversal just before you add the where step). Using the official TinkerPop documentation, the predicate approach covers cases 1 and 2 in the official example (I lumped the side effect in with the predicate in this case) while CreateSubQuery() covers the third official example.

I've been testing out this project in a proprietary project I am working on; I plan on closing out the last few bugs and rolling to V1.0 this weekend (23-24 June 2018).

I hope you find this project useful!

@cwoodland
Copy link
Author

This project is awesome and I really appreciate your feedback.
I will be in touch as I continue to use it.

@gregjesl
Copy link
Owner

@cwoodland I've just cleaned up the documentation. All tests are passing via AppVeyor so I think I'm ready for a V1.0 release. Were you able to get the where clause working?

@gregjesl
Copy link
Owner

gregjesl commented Jun 25, 2018

@cwoodland Also, I'm not sure when you forked the repo but I've merged in a refactoring pull request a few weeks ago. The traversals didn't change, some of the namespaces did though. It cleaned up the .NET Core and .NET Framework client implementations for Azure CosmosDB

EDIT: It looks like you forked in the last day; you should have the latest code. The only change in the last 24 hours was documentation via the readme files.

@cwoodland
Copy link
Author

Thanks so much for the heads up!

@cwoodland
Copy link
Author

I am new to gremlins , so I am going to ask one more dumb question.
I looked through the unit tests for update examples, but didn't see any.
Do you have any examples of update statements using the lib?

Thanks

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

No branches or pull requests

2 participants