Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

369 B
Raw Blame
import { snakeCase } from 'lodash'

export const getVectorBucketS3KeyName = (bucketId: string) => {
  return `${snakeCase(bucketId)}_keys`
}

export const getVectorBucketFDWServerName = (bucketId: string) => {
  return `${getVectorBucketFDWName(bucketId)}_server`
}

export const getVectorBucketFDWName = (bucketId: string) => {
  return `${snakeCase(bucketId)}_fdw`
}