mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #5878 from michaelrk02/patch-1
This commit is contained in:
commit
957656faf0
@ -99,7 +99,8 @@ is used with methods like ``find()`` to know what column to match the specified
|
||||
|
||||
Specifies if the table uses an auto-increment feature for ``$primaryKey``. If set to ``false``
|
||||
then you are responsible for providing primary key value for every record in the table. This
|
||||
feature may be handy when we want to implement 1:1 relation or use UUIDs for our model.
|
||||
feature may be handy when we want to implement 1:1 relation or use UUIDs for our model. The
|
||||
default value is ``true``.
|
||||
|
||||
.. note:: If you set ``$useAutoIncrement`` to ``false``, then make sure to set your primary
|
||||
key in the database to ``unique``. This way you will make sure that all of Model's features
|
||||
|
Loading…
x
Reference in New Issue
Block a user