MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getTableName

Function getTableName

packages/components/nodes/vectorstores/Postgres/utils.ts:19–21  ·  view source on GitHub ↗
(nodeData?: INodeData)

Source from the content-addressed store, hash-verified

17}
18
19export function getTableName(nodeData?: INodeData) {
20 return defaultChain(nodeData?.inputs?.tableName, process.env.POSTGRES_VECTORSTORE_TABLE_NAME, 'documents')
21}
22
23export function getContentColumnName(nodeData?: INodeData) {
24 return defaultChain(nodeData?.inputs?.contentColumnName, process.env.POSTGRES_VECTORSTORE_CONTENT_COLUMN_NAME, 'pageContent')

Callers 4

constructorMethod · 0.90
upsertMethod · 0.90
deleteMethod · 0.90
getTableNameFunction · 0.90

Calls 1

defaultChainFunction · 0.90

Tested by

no test coverage detected