Compare commits

...

1 Commits

Author SHA1 Message Date
603ec82b83 v0.0.154 2023-06-08 16:24:53 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.153"
const GoextVersion = "0.0.154"
const GoextVersionTimestamp = "2023-06-08T16:24:15+0200"
const GoextVersionTimestamp = "2023-06-08T16:24:53+0200"

View File

@@ -6,7 +6,7 @@ import (
"go.mongodb.org/mongo-driver/mongo"
)
func (c *Coll[TData]) DeleteOnebyID(ctx context.Context, id EntityID) error {
func (c *Coll[TData]) DeleteOneByID(ctx context.Context, id EntityID) error {
_, err := c.coll.DeleteOne(ctx, bson.M{"_id": id})
if err != nil {
return err