chickadee » orm » make-model-query

make-model-query table columns-thunk scopeprocedure

Create a bare descriptor for table (a symbol), where columns-thunk returns the column specs (e.g. users/columns) and scope is a model-scope or #f. define-model generates users/q from this; you rarely call it directly.