Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pgc4d/src/types.ts>ColumnMetadata

A full-featured PostgreSQL Client for Deno
Latest
interface ColumnMetadata
import { type ColumnMetadata } from "https://deno.land/x/pgc4d@v1.3.6/src/types.ts";

Properties

name: string

The field name.

tableOid: number

If the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.

typeOid: number

The object ID of the field's data type.

typeSize: number

The data type size (see pg_type.typlen). Note that negative values denote variable-width types.

typeMod: number

The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.