package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jul 13, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Argument is used to pass a value to a function inside a where clause
Example ¶
goe.Select(db.Animal).Where(where.Equals(function.ToUpper(&db.Animal.Name), function.Argument("CAT"))).AsSlice()
ToLower uses database function to converts the target string to lowercase
Example ¶
goe.Select(&struct {
LowerName *query.Function[string]
}{
LowerName: function.ToLower(&db.Animal.Name),
})
ToUpper uses database function to converts the target string to uppercase
Example ¶
goe.Select(&struct {
UpperName *query.Function[string]
}{
UpperName: function.ToUpper(&db.Animal.Name),
})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.