About Wub: Domains/Sql
(Parent)
A domain to minimally implement the Sql part of MVC, where the underlying model is an SQL database. Sql returns each resultset record [subst]ed over form to give html fragments.
Constructor Options
- sql
- the SQL command implementing the model (with : arg-substitution from the SQL query)
- tdbc
- the tdbc driver to use for SQL queries
- db
- optional tdbc database connection
- maxrows
- optional maximum number of rows which will be processed.
- form
- a Tcl script which will be [subst]ed for each element of the tdbc resultset, yielding an html fragment.
- huddle
- a Huddle descriptor for conversion to JSON
(generated by STX)