diff --git a/README.md b/README.md index 388d190..3cd01e4 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,10 @@ type ORMProvider interface { QueryChunks(ctx context.Context, parser ChunkParser) error Exec(ctx context.Context, query string, params ...interface{}) error + Transaction(ctx context.Context, fn func(ORMProvider) error) error } ``` -You might notice we are lacking an abstraction for transactions, but it is on our TODO list. - ### Usage examples This example is also available [here](./examples/crud/crud.go) @@ -202,7 +201,6 @@ read the example tests available on the our [example service](./examples/example ### TODO List -- Add support for transactions - Improve error messages - Allow the ID field to have a different name - Implement a JSON fields on the database (encoding/decoding them automatically into structs)