Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove unused (#17891)

p0ny8b54eb1a60cf
diff --git a/backend/store/common.go b/backend/store/common.go
index f5f1aca44c..9170e5f86c 100644
--- a/backend/store/common.go
+++ b/backend/store/common.go
@@ -1,9 +1,5 @@
package store
-import (
- "regexp"
-)
-
// RowStatus is the status for a row.
type RowStatus string
@@ -32,16 +28,3 @@ type OrderByKey struct {
Key string
SortOrder SortOrder
}
-
-type ListResourceFilter struct {
- Args []any
- Where string
-}
-
-var dollarPlaceholderRegex = regexp.MustCompile(`\$\d+`)
-
-// ConvertDollarPlaceholders converts PostgreSQL $N placeholders to ? placeholders for qb.
-// This is needed because the API layer creates filters with $1, $2, etc. but qb expects ?.
-func ConvertDollarPlaceholders(where string) string {
- return dollarPlaceholderRegex.ReplaceAllString(where, "?")
-}