mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
merge conflict fail
This commit is contained in:
@@ -10,6 +10,7 @@ import type { DBSchema, DBSchemas, GraphqlSchema, SQLSchema } from '$lib/stores'
|
||||
import { tryEvery } from '$lib/utils'
|
||||
import { stringifySchema } from '$lib/components/copilot/lib'
|
||||
import type { DbType } from '$lib/components/dbTypes'
|
||||
import { getDatabaseArg } from '$lib/components/dbOps'
|
||||
|
||||
export async function loadTableMetaData(
|
||||
input: DbInput,
|
||||
@@ -26,7 +27,7 @@ export async function loadTableMetaData(
|
||||
requestBody: {
|
||||
language,
|
||||
content,
|
||||
args: input.type === 'database' ? { database: '$res:' + input.resourcePath } : {}
|
||||
args: getDatabaseArg(input)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -75,7 +76,7 @@ export async function loadAllTablesMetaData(
|
||||
requestBody: {
|
||||
language,
|
||||
content: await makeLoadTableMetaDataQuery(input, workspace, undefined),
|
||||
args: input.type === 'database' ? { database: '$res:' + input.resourcePath } : {}
|
||||
args: getDatabaseArg(input)
|
||||
}
|
||||
})) as ({ table_name: string; schema_name?: string } & object)[]
|
||||
if (input.type === 'database' && input.resourceType === 'ms_sql_server') {
|
||||
|
||||
Reference in New Issue
Block a user