sqlquery

package
v1.28.0-129.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryTemplate = "select * from dummy where %s"

	DefaultDateTimeFormat = time.RFC3339
)

Variables

This section is empty.

Functions

func ConvertToTime

func ConvertToTime(timeStr string) (time.Time, error)

func ExtractIntValue

func ExtractIntValue(s string) (int, error)

func ExtractStringValue

func ExtractStringValue(s string) (string, error)

func ParseValue

func ParseValue(sqlValue string) (interface{}, error)

ParseValue returns a string, int64 or float64 if the parsing succeeds.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳