From 74f22692802337a317d439c97f70c8d000124dda Mon Sep 17 00:00:00 2001 From: Vikash Singh <3116482+vi3k6i5@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:40:33 +0530 Subject: [PATCH] docs: update docs to show decimal field support and check constraints but no support for unsigned data type (#683) --- README.rst | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index e79e23cd91..637ffe6c7e 100644 --- a/README.rst +++ b/README.rst @@ -283,23 +283,16 @@ were created. Spanner does not support ``ON DELETE CASCADE`` when creating foreign-key constraints, so this is not supported in ``django-google-spanner``. -Check constraints aren't supported -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``Unsigned`` datatypes are not supported +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Spanner does not support ``CHECK`` constraints so one isn't created for -`PositiveIntegerField +Spanner does not support ``Unsigned`` datatypes so `PositiveIntegerField `__ -and `CheckConstraint -`__ -can't be used. - -No native support for ``DecimalField`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Spanner's support for `Decimal `__ -types is limited to -`NUMERIC `__ -precision. Higher-precision values can be stored as strings instead. +and `PositiveSmallIntegerField +`__ +are both stored as `Integer type +`__ +. ``Meta.order_with_respect_to`` model option isn't supported ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~