examples

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleCTEMaterialization

func ExampleCTEMaterialization()

ExampleCTEMaterialization demonstrates CTE materialization hints (PostgreSQL 12+)

func ExampleCTERawString

func ExampleCTERawString()

ExampleCTERawString demonstrates using raw CTE string for backward compatibility

func ExampleCTEWithAggregation

func ExampleCTEWithAggregation()

ExampleCTEWithAggregation demonstrates CTE with complex aggregations

func ExampleComplexQueryBasic

func ExampleComplexQueryBasic()

ExampleComplexQueryBasic demonstrates basic complex query usage with custom SELECT fields

func ExampleComplexQueryMultipleJoins

func ExampleComplexQueryMultipleJoins()

ExampleComplexQueryMultipleJoins demonstrates multiple JOINs

func ExampleComplexQueryWithAggregation

func ExampleComplexQueryWithAggregation()

ExampleComplexQueryWithAggregation demonstrates GROUP BY and aggregate functions

func ExampleComplexQueryWithDistinct

func ExampleComplexQueryWithDistinct()

ExampleComplexQueryWithDistinct demonstrates DISTINCT usage

func ExampleComplexQueryWithJoins

func ExampleComplexQueryWithJoins()

ExampleComplexQueryWithJoins demonstrates complex query with JOINs

func ExampleComplexQueryWithNestedConditions

func ExampleComplexQueryWithNestedConditions()

ExampleComplexQueryWithNestedConditions demonstrates complex nested WHERE conditions

func ExampleMultipleCTEs

func ExampleMultipleCTEs()

ExampleMultipleCTEs demonstrates using multiple CTEs

func ExampleNestedCTE

func ExampleNestedCTE()

ExampleNestedCTE demonstrates nested CTEs building on each other

func ExampleRecursiveCTE

func ExampleRecursiveCTE()

ExampleRecursiveCTE demonstrates recursive CTE for hierarchical data

func ExampleSelectOneComplex

func ExampleSelectOneComplex()

ExampleSelectOneComplex demonstrates SelectOneComplex usage

func ExampleSimpleCTE

func ExampleSimpleCTE()

ExampleSimpleCTE demonstrates basic CTE usage with structured approach

Types

This section is empty.

Jump to

Keyboard shortcuts

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