From 1fc58339fb1f57b5df9c287989a90afaad709f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Garcia?= Date: Fri, 12 Mar 2021 11:05:12 -0300 Subject: [PATCH] Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 95c62e3..5448682 100644 --- a/README.md +++ b/README.md @@ -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