Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMissing (or difficult-to-find) documentation for `eq`, `gt`, etc. #607
Comments
This comment has been minimized.
|
The docs have a search function, that method is the first result when searching for |
sgrif
closed this
Feb 2, 2017
This comment has been minimized.
trombonehero
commented
Feb 2, 2017
|
It's true that
My suggestion is that something between the high-level http://diesel.rs/guides/getting-started and the low-level API docs could be helpful for people trying to learn Diesel. Something like "here's how these SQL clauses translate into Diesel expressions" would be great. |
This comment has been minimized.
|
Yes, writing a guide on this is the second one on the list that I give for people who reach out to help with the docs. |
trombonehero commentedFeb 2, 2017
Diesel provides lots of DSL sugar, and from the examples I can figure out how to do things like:
However, I can't find a list of
eq,gt, etc., in the documentation, so I don't know what predicates are supported. For example, there's probably a way to write a "non-null" predicate, but I can't find it in the documentation. Maybe it does exist, but if so, some indexing may be required...