Update README

pull/2/head
Vinícius Garcia 2021-03-12 11:05:12 -03:00
parent 35c1f42317
commit 1fc58339fb
1 changed files with 3 additions and 3 deletions

View File

@ -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