Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mysql2/lib/packets/column_definition.ts>ColumnDefinition

MySQL client for Deno with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression much more
Latest
class ColumnDefinition
import { ColumnDefinition } from "https://deno.land/x/mysql2@v1.0.6/lib/packets/column_definition.ts";

Constructors

new
ColumnDefinition(packet: Packet, clientEncoding: string)

Properties

_buf: Buffer
_catalogLength: number
_catalogStart: number
_clientEncoding: string
_orgNameLength: number
_orgNameStart: number
_orgTableLength: number
_orgTableStart: number
_schemaLength: number
_schemaStart: number
_tableLength: number
_tableStart: number
catalog: string
characterSet: number
columnLength: number
columnType: number
readonly
db
decimals: number
encoding: string
flags: number
name: string
orgName: string
orgTable: string
schema: string
table: string
type: number

Static Methods

toPacket(column: any, sequenceId: number)