remove postgres context provider from docs
This commit is contained in:
parent
84ec609230
commit
fd6a28bc56
1 changed files with 0 additions and 49 deletions
|
|
@ -559,55 +559,6 @@ Available connection types:
|
|||
- `mysql`
|
||||
- `sqlite`
|
||||
|
||||
### `@Postgres`
|
||||
|
||||
Reference the schema of a table, and some sample rows
|
||||
|
||||
- YAML
|
||||
- JSON
|
||||
|
||||
config.yaml
|
||||
|
||||
```
|
||||
context:
|
||||
- provider: postgres
|
||||
params:
|
||||
host: localhost
|
||||
port: 5436
|
||||
user: myuser
|
||||
password: catsarecool
|
||||
database: animals
|
||||
schema: public
|
||||
sampleRows: 3
|
||||
```
|
||||
|
||||
config.json
|
||||
|
||||
```json
|
||||
{
|
||||
"contextProviders": [
|
||||
{
|
||||
"name": "postgres",
|
||||
"params": {
|
||||
"host": "localhost",
|
||||
"port": 5436,
|
||||
"user": "myuser",
|
||||
"password": "catsarecool",
|
||||
"database": "animals",
|
||||
"schema": "public",
|
||||
"sampleRows": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The only required settings are those for creating the database connection: `host`, `port`, `user`, `password`, and `database`.
|
||||
|
||||
By default, the `schema` filter is set to `public`, and the `sampleRows` is set to 3. You may unset the schema if you want to include tables from all schemas.
|
||||
|
||||
[Here is a short demo.](https://github.com/continuedev/continue/pull/859)
|
||||
|
||||
### `@Google`
|
||||
|
||||
Reference the results of a Google search.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue