Skip to content

Commit 2381482

Browse files
dbugreg0ire
andauthored
Apply suggestions from code review
Co-authored-by: Grégoire Paris <[email protected]>
1 parent a0780a8 commit 2381482

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/en/cookbook/generated-columns.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated columns, sometimes also called virtual columns, are populated by
55
the database engine itself. They are a tool for performance optimization, to
66
avoid calculating a value on each query.
77

8-
You can define generated columns on entities and have doctrine map the values
8+
You can define generated columns on entities and have Doctrine map the values
99
to your entity.
1010

1111
Declaring a generated column
@@ -43,13 +43,13 @@ definition.
4343
* ``insertable``, ``updatable``: Setting these to false tells Doctrine to never
4444
write this column - writing to a generated column would result in an error
4545
from the database.
46-
* ``columnDefinition``: The instructions how to generate the column can not be
46+
* ``columnDefinition``: The instructions on how to generate the column can not be
4747
expressed with Doctrine mapping. ``columnDefinition`` specifies the full SQL
4848
to create the column. To allow to use database specific features, this
4949
attribute does not use DQL. Note that we use the database column names with
5050
snake_case to reference the fields, and not the entity fields with camelCase.
5151
The instructions in the column definition are applied literally, and thus not
52-
portable if you use any implementation specific features.
52+
portable if you use any implementation-specific features.
5353
Be aware that specifying a column definition makes the ``SchemaTool``
5454
completely ignore all other configuration for this column. See also
5555
:ref:`#[Column] <attrref_column>`

0 commit comments

Comments
 (0)