sql

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool bool

Bool wraps the built-in bool type and implements driver.Valuer. It converts boolean values to database-compatible integers (1 for true, 0 for false), useful for databases without native boolean support.

func (Bool) Value

func (b Bool) Value() (driver.Value, error)

Value implements driver.Valuer, converting true to 1 and false to 0.

Jump to

Keyboard shortcuts

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