From 41bead11038b57303f5c2e0c34ef1732f9c27a83 Mon Sep 17 00:00:00 2001 From: Dijana Pavlovic Date: Thu, 4 Jul 2024 08:58:54 +0200 Subject: [PATCH] Docs fix on object types (#7507) * Docs fix on object types * Remove text about property/link in diff edgedb versions. --- docs/datamodel/objects.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/datamodel/objects.rst b/docs/datamodel/objects.rst index 0b1a9d84a9b..c017733b220 100644 --- a/docs/datamodel/objects.rst +++ b/docs/datamodel/objects.rst @@ -8,10 +8,8 @@ Object Types analogous to SQL *tables* or ORM *models*, and consist of :ref:`properties ` and :ref:`links `. -Properties are used to attach primitive data to an object type. In versions -prior to EdgeDB 3.0 they must be declared with the ``property`` keyword, but -the keyword is not required in 3.0+ unless the property is a :ref:`computed -property `. For the full documentation on properties, +Properties are used to attach primitive data to an object type. +For the full documentation on properties, see :ref:`Properties `. .. code-block:: sdl @@ -27,9 +25,7 @@ see :ref:`Properties `. email: str; } -Links are used to define relationships between object types. Prior to EdgeDB -3.0, they must be declared with the ``link`` keyword, but the keyword is not -required in 3.0+ unless the link is computed (e.g., backlinks). For the full +Links are used to define relationships between object types. For the full documentation on links, see :ref:`Links `. .. code-block:: sdl