show right import script on create diagram

This commit is contained in:
Guy Ben-Aharon
2024-08-22 23:52:26 +03:00
committed by Jonathan Fishner
parent a915d8fd16
commit c6287cd51a
9 changed files with 85 additions and 58 deletions

View File

@@ -1,7 +1,4 @@
import { minimizeQuery } from './minimize-script';
const rawSqlServerQuery = `
WITH fk_info AS (
export const sqlServerQuery = `WITH fk_info AS (
SELECT
JSON_QUERY(
'[' + STRING_AGG(
@@ -178,4 +175,3 @@ SELECT JSON_QUERY(
', "version": ""}'
) AS full_json_result;
`;
export const SqlServerQuery = minimizeQuery(rawSqlServerQuery);