docs: Info on (lack of) subscription support for CockroachDB documentation.

And some small fixups while I was in the area.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6559
GitOrigin-RevId: 97612af20e18c3ea9af364ec519f7891f4a7aa80
This commit is contained in:
Samir Talwar 2022-10-26 22:50:56 +02:00 committed by hasura-bot
parent 63ed52ef7e
commit 78e0480bb2
2 changed files with 7 additions and 3 deletions

View File

@ -39,7 +39,7 @@ variable as the `SSL Root Certificate`.
:::info Note
Pay extra notice that if you use one of Cockroach's serverless databases, you will be prompted with a connection string
Pay extra notice that if you use one of CockroachDB's serverless databases, you will be prompted with a connection string
that contains the parameter `sslverify`.
You must add this parameter manually via the "SSL Certificates Settings" section.

View File

@ -14,7 +14,7 @@ keywords:
## Introduction
As CockroachDB supports PostgresSQL, the way it functions with Hasura is also very similar. However, there are a few
As CockroachDB supports PostgreSQL, the way it functions with Hasura is also very similar. However, there are a few
incompatibilities to be aware of.
## Incompatibilities and unsupported features
@ -32,7 +32,7 @@ Currently, the following features are supported with CockroachDB and Hasura:
Queries are fully supported, but please note that GraphQL key ordering in JSON objects is not guaranteed. This is
because CockroachDB implements the `JSONB` variant of the Postgres JSON types, which do not preserve key ordering.
Please also note that SERIAL columns will produce numbers that overflow Javascript numbers. These will need special
Please also note that SERIAL columns will produce numbers that overflow JavaScript numbers. These will need special
treatment by either enabling the
[`HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES` environment variable](/deployment/graphql-engine-flags/reference.mdx) or
bespoke JSON parsing client-side.
@ -69,6 +69,10 @@ support has recently been added to CockroachDB Beta
Mutations are supported in GraphQL Engine with the exception of fetching relationship data as part of `returning`. This
is not yet supported.
## Subscriptions
Subscriptions are currently not supported with CockroachDB. Support will be added in a future release.
## Event triggers
CockroachDB does not yet support creating triggers ([see issue](https://github.com/cockroachdb/cockroach/issues/28296))