mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
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:
parent
63ed52ef7e
commit
78e0480bb2
@ -39,7 +39,7 @@ variable as the `SSL Root Certificate`.
|
|||||||
|
|
||||||
:::info Note
|
:::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`.
|
that contains the parameter `sslverify`.
|
||||||
|
|
||||||
You must add this parameter manually via the "SSL Certificates Settings" section.
|
You must add this parameter manually via the "SSL Certificates Settings" section.
|
||||||
|
@ -14,7 +14,7 @@ keywords:
|
|||||||
|
|
||||||
## Introduction
|
## 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 to be aware of.
|
||||||
|
|
||||||
## Incompatibilities and unsupported features
|
## 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
|
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.
|
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
|
treatment by either enabling the
|
||||||
[`HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES` environment variable](/deployment/graphql-engine-flags/reference.mdx) or
|
[`HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES` environment variable](/deployment/graphql-engine-flags/reference.mdx) or
|
||||||
bespoke JSON parsing client-side.
|
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
|
Mutations are supported in GraphQL Engine with the exception of fetching relationship data as part of `returning`. This
|
||||||
is not yet supported.
|
is not yet supported.
|
||||||
|
|
||||||
|
## Subscriptions
|
||||||
|
|
||||||
|
Subscriptions are currently not supported with CockroachDB. Support will be added in a future release.
|
||||||
|
|
||||||
## Event triggers
|
## Event triggers
|
||||||
|
|
||||||
CockroachDB does not yet support creating triggers ([see issue](https://github.com/cockroachdb/cockroach/issues/28296))
|
CockroachDB does not yet support creating triggers ([see issue](https://github.com/cockroachdb/cockroach/issues/28296))
|
||||||
|
Loading…
Reference in New Issue
Block a user