simple-query-builder |
---|
action | Initform:collect, Initargs::action; Accessors:action-of; Type:(member collect purge). |
---|---|
action-args | List of expressions of the action form. Initargs::action-args; Accessors:action-args-of; Type:list. |
asserts | List of conditions of assert forms. Initargs::asserts; Accessors:asserts-of; Type:list. |
flatp | Initargs::flatp; Accessors:flatp; Type:boolean. |
group-by | List of slot values. Initargs::group-by; Accessors:group-by-of; Type:list. |
having | Initargs::having; Accessors:having-of; Type:list. |
lexical-variables | Initargs::lexical-variables; Accessors:lexical-variables-of; Type:list. |
order-by | Format: (:ascending Initargs::order-by; Accessors:order-by-of; Type:list. |
prefetch-mode | Initform:all, Initargs::prefetch-mode; Accessors:prefetch-mode-of; Type:(member none accessed all). |
query-variables | Initargs::query-variables; Accessors:query-variables-of; Type:list. |
result-type | Initform:'list, Initargs::result-type; Accessors:result-type-of; Type:(member 'list 'scroll). |
sql-order-by | Format: (:ascending Initargs::sql-order-by; Accessors:sql-order-by-of; Type:list. |
sql-select-list | Initargs::sql-select-list; Accessors:sql-select-list-of. |
sql-where | Initargs::sql-where; Accessors:sql-where-of. |
uniquep | Initargs::uniquep; Accessors:uniquep; Type:boolean. |
%compile-query | Compiles the query with the specified compiler. |
---|---|
add-assert | Add an assert for the CONDITION form to the QUERY. |
add-collect | Add a collect for the EXPRESSION form to the QUERY. |
add-group-by | Add a group-by clause specified by EXPRESSION to the QUERY. |
add-having | Add a having condition specified by EXPRESSION to the QUERY. |
add-lexical-variable | Add a lexical variable named VARIABLE to the QUERY. Lexical variables can be referenced in the as... |
add-order-by | Add an order-by clause specified by EXPRESSION and DIRECTION to the QUERY. |
add-query-variable | Add a query variable named VARIABLE to the QUERY. Query variables can be referenced in the assert... |
add-where-clause | |
collects-of | |
compile-query | Compiles the query to lisp code that executes the query. |
emit-query | TODO |
flatp | |
generate-plan | Generates a PLAN for the QUERY. |
macroexpand-query | Expands macros in the body of the query. |
options-of | |
select-form-of | |
set-order-by | Set an order-by clause specified by EXPRESSION and DIRECTION to the QUERY. |
setfcollects-of | |
sql-select-list-for | |
sql-table-references-for | |
transform-query | TODO |