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

Try to add more example related to "Query Conditions" #56

Open
byanjiong opened this issue Jan 24, 2018 · 0 comments
Open

Try to add more example related to "Query Conditions" #56

byanjiong opened this issue Jan 24, 2018 · 0 comments

Comments

@byanjiong
Copy link

The intro page provides limited examples on the query conditions, as a newbie, I don't really know how to use it for complex conditions...

How about adding more examples? E.g.:

// id = 100 OR id = 73
// id = 200 AND (status="publish" OR status="edit")
// id != 100 OR ( name IN("james", "robert", "mike") )

something like this will help us to construct complex conditions easily... ^_^

and possible provide some examples related to timestamp operation, e.g. less than 24 hours, more than 3 days...

I can write plain SQL statement, however, when trying to use function to wrap it, then hardly have idea how to get it done... Hoping for some (more complex and real-life) examples...

Sorry for asking a newbie question... 抱歉... :)

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

1 participant