Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package
v1.85.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasOrderedResults

func HasOrderedResults(sql string) bool

HasOrderedResults checks if a given SQL query returns ordered results. This function uses a naive approach of checking the root level query ( ignoring subqueries, functions calls, etc ) and checking if it contains an ORDER BY clause.

Types

This section is empty.

Jump to

Keyboard shortcuts

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