FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/pg / ColumnName

Type Alias: ColumnName<T>

ColumnName<T> = T extends keyof Tables ? Extract<keyof Tables[T], string> : string

Column-name union for a known table, or string for unknown tables.

Type Parameters

T

T extends string = string