From 817ead8be60ad407761eaac3a42178a5a77c052d Mon Sep 17 00:00:00 2001 From: undoingtech <33106062+undoingtech@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:03:40 -0400 Subject: [PATCH] Fix type in api_reference.rst sql_default section --- api_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_reference.rst b/api_reference.rst index 59d6128..2976e09 100644 --- a/api_reference.rst +++ b/api_reference.rst @@ -960,7 +960,7 @@ Below you can find the list of available options: created_at = Required(datetime, sql_default='CURRENT_TIMESTAMP') closed = Required(bool, default=True, sql_default='1') - Specifying ``sql_default=True`` can be convenient when you have a ``Required`` attribute and the value for it is going to be calculated in the database during the INSERT command (e.g. by a trigger). ``None`` by default. + Specifying ``default=True`` can be convenient when you have a ``Required`` attribute and the value for it is going to be calculated in the database during the INSERT command (e.g. by a trigger). ``None`` by default. .. option:: sql_type