Documentation
¶
Index ¶
- func ExampleCTEMaterialization()
- func ExampleCTERawString()
- func ExampleCTEWithAggregation()
- func ExampleComplexQueryBasic()
- func ExampleComplexQueryMultipleJoins()
- func ExampleComplexQueryWithAggregation()
- func ExampleComplexQueryWithDistinct()
- func ExampleComplexQueryWithJoins()
- func ExampleComplexQueryWithNestedConditions()
- func ExampleMultipleCTEs()
- func ExampleNestedCTE()
- func ExampleRecursiveCTE()
- func ExampleSelectOneComplex()
- func ExampleSimpleCTE()
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.