Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions sdk/migrate-client/schemas/migrate.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ input SqlActionFilter {

"""Negates the expression."""
not: SqlActionFilter

}

"""
Expand Down Expand Up @@ -532,6 +531,28 @@ input StringFilter {
"""Greater than or equal to the specified value (case-insensitive)."""
greaterThanOrEqualToInsensitive: String

"""
Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings.
"""
similarTo: TrgmSearchInput

"""
Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value.
"""
wordSimilarTo: TrgmSearchInput
}

"""
Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold.
"""
input TrgmSearchInput {
"""The text to fuzzy-match against. Typos and misspellings are tolerated."""
value: String!

"""
Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3.
"""
threshold: Float
}

"""
Expand Down Expand Up @@ -1182,4 +1203,4 @@ input DeleteSqlActionInput {
"""
clientMutationId: String
id: Int!
}
}
1 change: 0 additions & 1 deletion sdk/migrate-client/src/index.ts

This file was deleted.

Loading