| 35 | ) |
| 36 | |
| 37 | type SQL struct { |
| 38 | modName string |
| 39 | instName string |
| 40 | prepare func() error |
| 41 | |
| 42 | namedArgs bool |
| 43 | |
| 44 | db *sql.DB |
| 45 | lookup *sql.Stmt |
| 46 | add *sql.Stmt |
| 47 | list *sql.Stmt |
| 48 | set *sql.Stmt |
| 49 | del *sql.Stmt |
| 50 | } |
| 51 | |
| 52 | func NewSQL(_ *container.C, modName, instName string) (module.Module, error) { |
| 53 | return &SQL{ |
nothing calls this directly
no outgoing calls
no test coverage detected