Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sqlite/mod.ts>ColumnName

Deno SQLite module
Go to Latest
interface ColumnName
import { type ColumnName } from "https://deno.land/x/sqlite@v3.8/mod.ts";

Name of a column returned from a database query.

Properties

name: string

Name of the returned column.

Corresponds to the sqlite3_column_name function.

originName: string

Name of the database column that stores the data returned from this query.

This might be different from name if a columns was renamed using e.g. as in SELECT foo AS bar FROM table.

Corresponds to the sqlite3_column_origin_name function.

tableName: string

Name of the table that stores the data returned from this query.

Corresponds to the sqlite3_column_table_name function.