MCPcopy Create free account
hub / github.com/Effect-TS/effect / Column

Interface Column

packages/sql/pg/src/PgTypes.ts:2020–2029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018 * @since 4.0.0
2019 */
2020export interface Column {
2021 readonly dataTypeOid: number
2022 readonly format: number
2023 /** Names the column in decoding errors. */
2024 readonly name?: string | undefined
2025 /** The source table, or `0` when the column is not a table column. */
2026 readonly tableOid?: number | undefined
2027 /** The column's attribute number within `tableOid`. */
2028 readonly columnAttributeNumber?: number | undefined
2029}
2030
2031/**
2032 * Creates a field reader for `PgProtocol.makeParser`.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected