This commit is contained in:
Mike Schwörer 2023-06-08 16:24:53 +02:00
parent 93c4cf31a8
commit 603ec82b83
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
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