Separate exec types into files, document code (#10)
Go Tests / test (push) Successful in 1m2s

Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
2026-07-28 20:16:23 +00:00
parent 30e148f0e3
commit 5c56241cf6
10 changed files with 413 additions and 281 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")