You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iferr:=sqlitex.ExecuteTransient(conn, "SELECT operations.operation FROM operations JOIN operation_groups ON operations.ogid = operation_groups.ogid WHERE "+predicateStr, &sqlitex.ExecOptions{
returnfmt.Errorf("couldn't find all operations to delete: %w", oplog.ErrNotExist)
526
-
}
521
+
varops []*v1.Operation
522
+
iferr:=sqlitex.ExecuteTransient(conn, "SELECT operations.operation FROM operations JOIN operation_groups ON operations.ogid = operation_groups.ogid WHERE "+predicateStr, &sqlitex.ExecOptions{
523
+
Args: args,
524
+
ResultFunc: func(stmt*sqlite.Stmt) error {
525
+
opBytes:=make([]byte, stmt.ColumnLen(0))
526
+
n:=stmt.GetBytes("operation", opBytes)
527
+
opBytes=opBytes[:n]
527
528
528
-
// Delete the operations
529
-
iferr:=sqlitex.ExecuteTransient(conn, "DELETE FROM operations WHERE "+predicateStr, &sqlitex.ExecOptions{
0 commit comments