diff --git a/include/orm/tiny/concerns/buildssoftdeletes.hpp b/include/orm/tiny/concerns/buildssoftdeletes.hpp index c87a7706e..2b08733ee 100644 --- a/include/orm/tiny/concerns/buildssoftdeletes.hpp +++ b/include/orm/tiny/concerns/buildssoftdeletes.hpp @@ -160,7 +160,7 @@ namespace Concerns m_trashed = WithoutTrashed; /* Disable the default soft deletes constraint on the TinyBuilder because - manually overriden and we are applying another whereNull clause here. */ + manually overridden and we are applying another whereNull clause here. */ disableSoftDeletes(); auto &builder = this->builder(); @@ -192,7 +192,7 @@ namespace Concerns m_trashed = OnlyTrashed; /* Disable the default soft deletes constraint on the TinyBuilder because - manually overriden and we are applying another whereNotNull clause here. */ + manually overridden and we are applying another whereNotNull clause here. */ disableSoftDeletes(); auto &builder = this->builder(); diff --git a/include/orm/tiny/relations/basepivot.hpp b/include/orm/tiny/relations/basepivot.hpp index a766497f2..37cf1569f 100644 --- a/include/orm/tiny/relations/basepivot.hpp +++ b/include/orm/tiny/relations/basepivot.hpp @@ -129,7 +129,7 @@ namespace Orm::Tiny::Relations /* AsPivot */ /* Custom Pivot models only: - Below is true, only during obtaining pivot records from the database during + Below is true, only when obtaining pivot records from the database during the lazy or eager loading. It's not true eg. if you call Tagged::create()/save()/update()/..., in all this cases the Ignored u_xyz data members are taken into account normally❗ @@ -140,7 +140,7 @@ namespace Orm::Tiny::Relations Notes : u_connection - inferred from the parent model u_timestamps - true if attributes contain both CREATED_AT and UPDATED_AT - CREATED/UPDATED_AT - inferred from the parent model, can be overriden + CREATED/UPDATED_AT - inferred from the parent model, can be overridden using the withTimestamps() method */ diff --git a/tests/models/models/tagged.hpp b/tests/models/models/tagged.hpp index 2d539c59e..e2fb01685 100644 --- a/tests/models/models/tagged.hpp +++ b/tests/models/models/tagged.hpp @@ -22,7 +22,7 @@ class Tagged final : public BasePivot /*! Indicates if the ID is auto-incrementing. */ // bool u_incrementing = true; - /* Below is true, only during obtaining pivot records from the database during + /* Below is true, only when obtaining pivot records from the database during the lazy or eager loading with the Custom Pivot models only. It's not true eg. if you call Tagged::create()/save()/update()/..., in all this cases the Ignored u_xyz data members are taken into account normally❗ @@ -33,7 +33,7 @@ class Tagged final : public BasePivot Notes : u_connection - inferred from the parent model u_timestamps - true if attributes contain both CREATED_AT and UPDATED_AT - CREATED/UPDATED_AT - inferred from the parent model, can be overriden + CREATED/UPDATED_AT - inferred from the parent model, can be overridden using the withTimestamps() method */ };