Index
Query structure
The query structure is simple, easy to use and inspired by SQL. Query often start with the keyword FIND
followed by the entity type and then the condition.
FROM entity_type AS entity_variableWHERE conditionSELECT entity_variable, "Description"
Example
FROM method_declaration AS mdWHERE "@Deprecated" in md.getAnnotation()SELECT md, "Listing all deprecated methods"
Alias syntax
The alias syntax is used to give a name to the entity. This is useful when the entity is used multiple times in the query. It’s mandatory to use the alias to invoke the entity methods.
FROM method_declaration AS mdWHERE md.<Entity method>SELECT md.<Entity Data>, "Example description"
Learn more about the entity methods below in the API Index.