diff options
author | xue <> | 2008-04-21 14:35:40 +0000 |
---|---|---|
committer | xue <> | 2008-04-21 14:35:40 +0000 |
commit | 30a2aa0b9475079bf89921f1befcc4515e9cb7af (patch) | |
tree | 5501f4396785820c1a772ebb894816d4d83a5c56 /demos/quickstart/protected | |
parent | 6edf3f381562837b53380c99e4b47da4ee5dd6bd (diff) |
prepare for release.
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r-- | demos/quickstart/protected/pages/Database/ActiveRecord.page | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page index db0a0559..70998587 100644 --- a/demos/quickstart/protected/pages/Database/ActiveRecord.page +++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page @@ -411,9 +411,7 @@ $user2 = new UserRecord($data); //create by passing some existing data $user2->save(); //insert a new record </com:TTextHighlighter> <div class="tip"><b class="note">Tip:</b> -The objects are update with the primary key of those the tables that contains -definitions that automatically creates a primary key for the newly insert records. -For example, if you insert a new record into a MySQL table that has columns +If you insert a new record into a MySQL table that has columns defined with "autoincrement", the Active Record objects will be updated with the new incremented value.</div> |