dbtypes

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dbtypes provides database type aliases to keep pq out of business imports. dbtypes 提供数据库类型别名,避免业务层直接引入 pq。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PQArray added in v0.1.8

func PQArray(a any) interface {
	driver.Valuer
	sql.Scanner
}

PQArray adapts an array or slice for SQL values and scanning using pq.Array. PQArray 使用 pq.Array 将数组或切片适配为 SQL 值和扫描目标。

Types

type TextArray

type TextArray = pq.StringArray

TextArray stores a Postgres text array. TextArray 保存 Postgres text array。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL