Skip to content

Commit

Permalink
fixtypo
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
silverqx committed Sep 1, 2022
1 parent a4cec6d commit 66d5635
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/orm/tiny/concerns/buildssoftdeletes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions include/orm/tiny/relations/basepivot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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❗
Expand All @@ -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
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/models/models/tagged.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Tagged final : public BasePivot<Tagged>
/*! 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❗
Expand All @@ -33,7 +33,7 @@ class Tagged final : public BasePivot<Tagged>
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
*/
};
Expand Down

0 comments on commit 66d5635

Please sign in to comment.