query

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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