doc improved

This commit is contained in:
Lunny Xiao 2013-09-27 10:30:34 +08:00
parent 7444be795b
commit 4cdec08cc9
1 changed files with 15 additions and 0 deletions

View File

@ -346,6 +346,21 @@ Another is use field tag, field tag support the below keywords which split with
</tr>
<tr>
<td>-</td><td>this field is not map as a table column</td>
</tr>
<tr>
<td>-></td><td>this field only write to db and not read from db</td>
</tr>
<tr>
<td>&lt;-</td><td>this field only read from db and not write to db</td>
</tr>
<tr>
<td>created</td><td>this field will auto fill current time when insert</td>
</tr>
<tr>
<td>updated</td><td>this field will auto fill current time when update</td>
</tr>
<tr>
<td>default 0 or default 'abc'</td><td>default value, use single quote for string</td>
</tr>
</table>