mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Remove unsupported databases
This commit is contained in:
@@ -7,7 +7,7 @@ import { BaseLanguageModel } from 'langchain/base_language'
|
|||||||
import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler'
|
import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler'
|
||||||
import { DataSourceOptions } from 'typeorm/data-source'
|
import { DataSourceOptions } from 'typeorm/data-source'
|
||||||
|
|
||||||
type DatabaseType = 'sqlite' | 'postgres' | 'cockroachdb' | 'mssql' | 'mysql' | 'mariadb' | 'mongodb' | 'oracle'
|
type DatabaseType = 'sqlite' | 'postgres' | 'mssql' | 'mysql'
|
||||||
|
|
||||||
class SqlDatabaseChain_Chains implements INode {
|
class SqlDatabaseChain_Chains implements INode {
|
||||||
label: string
|
label: string
|
||||||
@@ -48,10 +48,6 @@ class SqlDatabaseChain_Chains implements INode {
|
|||||||
label: 'PostgreSQL',
|
label: 'PostgreSQL',
|
||||||
name: 'postgres'
|
name: 'postgres'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: 'CockroachDB',
|
|
||||||
name: 'cockroachdb'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'MSSQL',
|
label: 'MSSQL',
|
||||||
name: 'mssql'
|
name: 'mssql'
|
||||||
@@ -59,18 +55,6 @@ class SqlDatabaseChain_Chains implements INode {
|
|||||||
{
|
{
|
||||||
label: 'MySQL',
|
label: 'MySQL',
|
||||||
name: 'mysql'
|
name: 'mysql'
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'MariaDB',
|
|
||||||
name: 'mariadb'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'MongoDB',
|
|
||||||
name: 'mongodb'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Oracle',
|
|
||||||
name: 'oracle'
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
default: 'sqlite'
|
default: 'sqlite'
|
||||||
|
|||||||
Reference in New Issue
Block a user