<new-query> dynamically create a database query
- name
- new-query
- xml namespace
- http://moyaproject.com/db
Create a query object dynamically.
Example
<db:new-query model="relationship.ref_model" from="${relationship.ref_model.app.name}" dst="related" />
attributes
name |
purpose |
type |
required? |
default |
choices |
db |
Database |
text |
No |
"_default" |
|
from |
Model app |
application reference |
No |
|
|
model |
Model |
expression |
Yes |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
dst |
Destination |
reference |
No |
|
|
if |
Conditional expression |
expression |
No |
yes |
|
value |
Value |
expression |
No |
None |
|