mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 11:56:00 +00:00
fix: remove schema from firebird
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
module.exports = `
|
||||
SELECT
|
||||
TRIM(F.RDB$OWNER_NAME) AS "owningObjectSchemaName", -- Schema of the function this parameter belongs to
|
||||
TRIM(FA.RDB$FUNCTION_NAME) AS "owningObjectName", -- Name of the function this parameter belongs to
|
||||
TRIM(FA.RDB$ARGUMENT_NAME) AS "parameterName",
|
||||
FFLDS.RDB$FIELD_TYPE AS "dataTypeCode", -- SQL data type code from RDB$FIELDS
|
||||
@@ -15,8 +14,7 @@ SELECT
|
||||
FA.RDB$ARGUMENT_POSITION AS "position", -- 0-based index for arguments
|
||||
|
||||
-- Fields for ParameterInfo.NamedObjectInfo
|
||||
TRIM(FA.RDB$FUNCTION_NAME) AS "pureName", -- NamedObjectInfo.pureName for the parameter
|
||||
TRIM(F.RDB$OWNER_NAME) AS "schemaName" -- NamedObjectInfo.schemaName (owner of the function)
|
||||
TRIM(FA.RDB$FUNCTION_NAME) AS "pureName" -- NamedObjectInfo.pureName for the parameter
|
||||
|
||||
FROM
|
||||
RDB$FUNCTION_ARGUMENTS FA
|
||||
@@ -27,5 +25,5 @@ JOIN
|
||||
WHERE
|
||||
COALESCE(F.RDB$SYSTEM_FLAG, 0) = 0 -- Filter for user-defined functions
|
||||
ORDER BY
|
||||
"owningObjectSchemaName", "owningObjectName", "position";
|
||||
"owningObjectName", "position";
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user