Skip to content

Commit

Permalink
Rename Gql to GQL
Browse files Browse the repository at this point in the history
  • Loading branch information
apstndb committed Sep 17, 2024
1 parent fbc6fbe commit f3d67a9
Show file tree
Hide file tree
Showing 56 changed files with 1,972 additions and 1,970 deletions.
410 changes: 206 additions & 204 deletions ast/ast.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ast/ast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestStatement(t *testing.T) {
Statement(&Grant{}).isStatement()
Statement(&Revoke{}).isStatement()

Statement(&GqlGraphQuery{}).isStatement()
Statement(&GQLGraphQuery{}).isStatement()
}

func TestQueryExpr(t *testing.T) {
Expand Down
42 changes: 21 additions & 21 deletions ast/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,43 +131,43 @@ const (
InsertOrTypeIgnore InsertOrType = "IGNORE"
)

type GqlAllOrDistinctEnum int
type GQLAllOrDistinctEnum int

const (
GqlAllOrDistinctImplicitAll GqlAllOrDistinctEnum = iota
GqlAllOrDistinctAll = iota
GqlAllOrDistinctDistinct
GQLAllOrDistinctImplicitAll GQLAllOrDistinctEnum = iota
GQLAllOrDistinctAll = iota
GQLAllOrDistinctDistinct
)

type GqlSetOperatorEnum int
type GQLSetOperatorEnum int

const (
GqlSetOperatorUnion GqlSetOperatorEnum = iota
GqlSetOperatorIntersect
GqlSetOperatorExcept
GQLSetOperatorUnion GQLSetOperatorEnum = iota
GQLSetOperatorIntersect
GQLSetOperatorExcept
)

type GqlDirection string
type GQLDirection string

const (
GqlSortOrderUnspecified GqlDirection = ""
GqlSortOrderAsc GqlDirection = "ASC"
GqlSortOrderAscending GqlDirection = "ASCENDING"
GqlSortOrderDesc GqlDirection = "DESC"
GqlSortOrderDescending GqlDirection = "DESCENDING"
GQLSortOrderUnspecified GQLDirection = ""
GQLSortOrderAsc GQLDirection = "ASC"
GQLSortOrderAscending GQLDirection = "ASCENDING"
GQLSortOrderDesc GQLDirection = "DESC"
GQLSortOrderDescending GQLDirection = "DESCENDING"
)

type GqlPathModeEnum int
type GQLPathModeEnum int

const (
GqlPathModeWalk GqlPathModeEnum = iota
GqlPathModeTrail
GQLPathModeWalk GQLPathModeEnum = iota
GQLPathModeTrail
)

type GqlSearchPrefixEnum int
type GQLSearchPrefixEnum int

const (
GqlPathSearchPrefixAll GqlSearchPrefixEnum = iota
GqlPathSearchPrefixAny
GqlPathSearchPrefixAnyShortest
GQLPathSearchPrefixAll GQLSearchPrefixEnum = iota
GQLPathSearchPrefixAny
GQLPathSearchPrefixAnyShortest
)
212 changes: 106 additions & 106 deletions ast/pos.go

Large diffs are not rendered by default.

Loading

0 comments on commit f3d67a9

Please sign in to comment.