feat(store,document,sqlite): log upsert query in debug level
This commit is contained in:
parent
b9f985ab0c
commit
c4865c149f
@ -190,6 +190,12 @@ func (s *DocumentStore) Upsert(ctx context.Context, collection string, document
|
||||
|
||||
args := []any{id, collection, JSONMap(document), now, now}
|
||||
|
||||
logger.Debug(
|
||||
ctx, "executing query",
|
||||
logger.F("query", query),
|
||||
logger.F("args", args),
|
||||
)
|
||||
|
||||
row := tx.QueryRowContext(ctx, query, args...)
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user