mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Merge pull request #563 from dbeaver/feature/CB-1370
feat(CB-1370): extend sql GraphQL API for formatting.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user