Skip to content

Commit

Permalink
Docs: Some tweaks (#6679)
Browse files Browse the repository at this point in the history
* Update schema.rst

remove the extra "space"

* Update schema.rst

add `int16`

* Update edgeql.rst

add `int16`

* Update constraints.rst

User(x) -> Player(o)

* Update schema.rst

Fix "Line longer than 79 characters" test failure.

* Update edgeql.rst

Fix "Line longer than 79 characters" test failure.
  • Loading branch information
jrycw authored Jan 11, 2024
1 parent 6359f3e commit 45723c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/datamodel/constraints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ player picks in a color-based memory game:
required name: str;
}
This constraint ensures that a single ``User`` cannot pick two ``Color``\s at
This constraint ensures that a single ``Player`` cannot pick two ``Color``\s at
the same ``@order``.

.. _ref_datamodel_constraints_scalars:
Expand Down
3 changes: 2 additions & 1 deletion docs/intro/edgeql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ EdgeDB has a rich primitive type system consisting of the following data types.
* - Booleans
- ``bool``
* - Numbers
- ``int32`` ``int64`` ``float32`` ``float64`` ``bigint`` ``decimal``
- ``int16`` ``int32`` ``int64`` ``float32`` ``float64``
``bigint`` ``decimal``
* - UUID
- ``uuid``
* - JSON
Expand Down
5 changes: 3 additions & 2 deletions docs/intro/schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ types.
* - Booleans
- ``bool``
* - Numbers
- ``int32`` ``int64`` ``float32`` ``float64`` ``bigint`` ``decimal``
- ``int16`` ``int32`` ``int64`` ``float32`` ``float64``
``bigint`` ``decimal``
* - UUID
- ``uuid``
* - JSON
Expand Down Expand Up @@ -366,7 +367,7 @@ understand backlink syntax is to split it into two parts:
``[is Movie]``
This is a *type filter* that filters out all objects that aren't ``Movie``
objects. A backlink still works without this filter, but could contain any
other number of objects besides `` Movie`` objects.
other number of objects besides ``Movie`` objects.

See :ref:`Schema > Computeds > Backlinks <ref_datamodel_links_backlinks>`.

Expand Down

0 comments on commit 45723c1

Please sign in to comment.