You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/core/initialization.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ This takes care of the following effects:
49
49
50
50
The following environment variables are supported:
51
51
52
-
*`COCOINDEX_DATABASE_URL` (required): The URI of the Postgres database to use as the internal storage, e.g. `postgres://cocoindex:cocoindex@localhost/cocoindex`
52
+
*`COCOINDEX_DATABASE_URL` (required): The URL of the Postgres database to use as the internal storage, e.g. `postgres://cocoindex:cocoindex@localhost/cocoindex`
53
53
*`COCOINDEX_DATABASE_USER` (optional): The username for the Postgres database. If not provided, username will come from `COCOINDEX_DATABASE_URL`.
54
54
*`COCOINDEX_DATABASE_PASSWORD` (optional): The password for the Postgres database. If not provided, password will come from `COCOINDEX_DATABASE_URL`.
55
55
@@ -66,9 +66,9 @@ It takes a `Settings` object as argument, which is a dataclass that contains the
66
66
#### DatabaseConnectionSpec
67
67
68
68
`DatabaseConnectionSpec` has the following fields:
69
-
*`uri` (type: `str`, required): The URI of the Postgres database to use as the internal storage, e.g. `postgres://cocoindex:cocoindex@localhost/cocoindex`.
70
-
*`user` (type: `str`, optional): The username for the Postgres database. If not provided, username will come from `uri`.
71
-
*`password` (type: `str`, optional): The password for the Postgres database. If not provided, password will come from `uri`.
69
+
*`url` (type: `str`, required): The URL of the Postgres database to use as the internal storage, e.g. `postgres://cocoindex:cocoindex@localhost/cocoindex`.
70
+
*`user` (type: `str`, optional): The username for the Postgres database. If not provided, username will come from `url`.
71
+
*`password` (type: `str`, optional): The password for the Postgres database. If not provided, password will come from `url`.
Copy file name to clipboardExpand all lines: docs/docs/ops/storages.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -379,7 +379,7 @@ Please read and agree the license before starting the instance.
379
379
The `Neo4j` storage exports each row as a relationship to Neo4j Knowledge Graph. The spec takes the following fields:
380
380
381
381
*`connection` (type: [auth reference](../core/flow_def#auth-registry) to `Neo4jConnectionSpec`): The connection to the Neo4j database. `Neo4jConnectionSpec` has the following fields:
382
-
*`uri` (type: `str`): The URI of the Neo4j database to use as the internal storage, e.g. `bolt://localhost:7687`.
382
+
*`url` (type: `str`): The URI of the Neo4j database to use as the internal storage, e.g. `bolt://localhost:7687`.
383
383
*`user` (type: `str`): Username for the Neo4j database.
384
384
*`password` (type: `str`): Password for the Neo4j database.
385
385
*`db` (type: `str`, optional): The name of the Neo4j database to use as the internal storage, e.g. `neo4j`.
0 commit comments