Separate execs into their own files

This commit is contained in:
2026-07-05 08:45:45 +02:00
parent 30e148f0e3
commit 8d91fc9aab
9 changed files with 322 additions and 278 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ type Select[T any] struct {
}
// Creates the select query builder
func CreateSelect[T any](orm *simpleorm.ORM) (Select[T], error) {
func NewSelect[T any](orm *simpleorm.ORM) (Select[T], error) {
table, ok := orm.Cache().Get(reflect.TypeFor[T]().Name())
if !ok {
return Select[T]{}, errors.New("Failed to get table from schema cache")