<get-column> get a column from a model

name
get-column
xml namespace
http://moyaproject.com/db

Get a specific column from the database. This is required if you don't know the column reference ahead of time, i.e. when you want to generate a query dynamically from a table. Moya Admin uses this tag, but it unlikely to be useful for general applications.

Example

<db:getcolumn model="${table.params.model}"
     name="id" from="${.url.appname}" dst="id_column" />
attributes
name purpose type required? default choices
from Model app application reference No
model Model reference text No
modelobj Model object expression No None
name Column name text Yes
inherited attributes
name purpose type required? default choices
dst Destination reference No
if Conditional expression expression No yes
value Value expression No None