resultx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drain

func Drain(result proto.Result)

func New

func New(options ...Option) proto.Result

New creates a result from some options.

Types

type Option

type Option func(*option)

Option represents the option to create a result.

func WithDataset

func WithDataset(d proto.Dataset) Option

WithDataset specify the dataset for the result to be created.

func WithLastInsertID

func WithLastInsertID(id uint64) Option

WithLastInsertID specify the last-insert-id for the result to be created.

func WithRowsAffected

func WithRowsAffected(n uint64) Option

WithRowsAffected specify the rows-affected for the result to be created.

Jump to

Keyboard shortcuts

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