mirror of https://github.com/VinGarcia/ksql.git
Update README
parent
35c1f42317
commit
1fc58339fb
|
@ -61,9 +61,9 @@ it with as little functions as possible, so don't expect many additions:
|
|||
```go
|
||||
// SQLProvider describes the public behavior of this ORM
|
||||
type SQLProvider interface {
|
||||
Insert(ctx context.Context, records ...interface{}) error
|
||||
Delete(ctx context.Context, ids ...interface{}) error
|
||||
Update(ctx context.Context, records ...interface{}) error
|
||||
Insert(ctx context.Context, record interface{}) error
|
||||
Update(ctx context.Context, record interface{}) error
|
||||
Delete(ctx context.Context, idsOrRecords ...interface{}) error
|
||||
|
||||
Query(ctx context.Context, records interface{}, query string, params ...interface{}) error
|
||||
QueryOne(ctx context.Context, record interface{}, query string, params ...interface{}) error
|
||||
|
|
Loading…
Reference in New Issue