Merge pull request #563 from dbeaver/feature/CB-1370

feat(CB-1370): extend sql GraphQL API for formatting.
This commit is contained in:
Serge Rider
2021-12-02 15:12:34 +03:00
committed by GitHub
@@ -194,6 +194,12 @@ extend type Query {
simpleMode: Boolean
): [ SQLCompletionProposal ]
sqlFormatQuery(
connectionId: ID!,
contextId: ID!,
query: String!
): String!
sqlSupportedOperations(
connectionId: ID!,
contextId: ID!,
@@ -203,7 +209,7 @@ extend type Query {
# List of all available entity query generators
sqlEntityQueryGenerators(nodePathList: [String!]!
): [SQLQueryGenerator!]!
): [SQLQueryGenerator!]!
# Options:
# fullyQualifiedNames: Boolean
@@ -217,7 +223,7 @@ extend type Query {
generatorId: String!,
options: Object!,
nodePathList: [String!]!
): String!
): String!
}
extend type Mutation {