diff options
author | Andrey Andreev <narf@devilix.net> | 2015-07-15 14:35:56 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-07-15 14:35:56 +0200 |
commit | 15a3e65c5c127ce2757396ef25a437632cca6484 (patch) | |
tree | 5f484cea0bb82fcebfdfe61237d8173cc096872c /user_guide_src/source/database | |
parent | 6f371aeb25ad3b8b2934401661632aec468540f1 (diff) | |
parent | ff50c54266bbd484dd5fb2887974abb69a141817 (diff) |
Merge pull request #3969 from avenirer/patch-2
[ci skip] Add docs note about DB_forge::add_field() with raw strings
Diffstat (limited to 'user_guide_src/source/database')
-rw-r--r-- | user_guide_src/source/database/forge.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user_guide_src/source/database/forge.rst b/user_guide_src/source/database/forge.rst index a875f7418..646e3a56e 100644 --- a/user_guide_src/source/database/forge.rst +++ b/user_guide_src/source/database/forge.rst @@ -143,6 +143,8 @@ string into the field definitions with add_field() $this->dbforge->add_field("label varchar(100) NOT NULL DEFAULT 'default label'"); +.. note:: Passing raw strings as fields cannot be followed by ``add_key()`` calls on those fields. + .. note:: Multiple calls to add_field() are cumulative. Creating an id field |