feat(sql): Add select query

This commit is contained in:
Björn Benouarets
2025-11-10 00:05:12 +01:00
parent fc982db3ef
commit 73341d5bf1
2 changed files with 26 additions and 0 deletions

14
build/select.go Normal file
View File

@@ -0,0 +1,14 @@
package build
import (
"git.secnex.io/secnex/pgson/schema"
"git.secnex.io/secnex/pgson/sql"
)
func Select(s *schema.Table, where map[string]any) (*string, error) {
if err := sql.ValidateIdent(s.Name); err != nil {
return nil, err
}
return nil, nil
}