dbscan

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolInt

func BoolInt(value bool) int

BoolInt returns SQLite's conventional integer representation for booleans.

func IntBool

func IntBool(value int) bool

IntBool returns true for SQLite's conventional integer true value.

func NullInt64BoolPtr

func NullInt64BoolPtr(value sql.NullInt64) *bool

NullInt64BoolPtr converts a nullable SQLite boolean integer into an optional bool.

Types

type BoolScanner

type BoolScanner struct {
	// contains filtered or unexported fields
}

func Bool

func Bool(target *bool) *BoolScanner

Bool returns a sql.Scanner-compatible target that accepts common SQLite boolean encodings.

func (*BoolScanner) Scan

func (b *BoolScanner) Scan(src any) error

Jump to

Keyboard shortcuts

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