-
Notifications
You must be signed in to change notification settings - Fork 0
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
Start writing supported queries #17
Conversation
bfacca6
to
3e8d5c4
Compare
reference/SUPPORTED_QUERIES.md
Outdated
|
||
| EncryptedValue subclass | Supported lookups | Supported index type | | ||
|-------------------------|----------------------------------|----------------------| | ||
| EncryptedText | eq (EncryptedUniqueEquals) | "unique" | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest putting anything that is a class name or "symbol" in backticks. EncryptedText
instead of EncryptedText.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EncryptedText
also supports ORE but its only useful for ORDER BY. Maybe we could add that later because I think we don't yet support ordering in eqlpy, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ORDER BY
is supported ilke this: Customer.objects.order_by(CsOre648V1(F("name")).desc()).values().all()
so we coulld add it but that may require further explanation. I don't know if we can make it simpler than that without doing a lot of work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small suggestions.
* use backticks for identifiers * update example to use 'customers' * add links to EQL value types
This is an attempt at filling in the supported queries section