<create> create an object in the database
- name
- create
- xml namespace
- http://moyaproject.com/db
Create new object in the database.
Example
<db:create model="#User"
let:username="username"
let:email="email"
let:first_name="first_name"
let:last_name="last_name"
let:password="password"
dst="newuser" />
attributes
name |
purpose |
type |
required? |
default |
choices |
db |
Database name |
text |
No |
"_default" |
|
from |
Application |
application reference |
No |
|
|
model |
Model element reference |
text |
Yes |
|
|
obj |
Object with initial values |
index |
No |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
dst |
Destination |
reference |
No |
|
|
if |
Conditional expression |
expression |
No |
yes |
|
value |
Value |
expression |
No |
None |
|