bigintsum

package
v0.92.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bigintsum registers the dingo_bigint_sum SQLite aggregate with the pure-Go SQLite driver. Importing it is enough: registration happens once at package initialization and applies to every connection the driver opens afterwards.

The aggregate sums signed decimal text exactly. SQLite's own SUM raises an integer-overflow error past 64 bits and TOTAL is a float, so neither is exact for the unbounded delta_coin columns. It ignores NULL inputs and returns the total as decimal text, "0" when no row contributed.

It lives beside the SQLite provider rather than in the shared sqlstore package so that the PostgreSQL and MySQL providers do not link the SQLite driver.

Index

Constants

View Source
const Name = "dingo_bigint_sum"

Name is the SQL name of the aggregate.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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