| 511 | |
| 512 | |
| 513 | static void |
| 514 | WriteBoolExpr(pgbson_array_writer *writer, BoolExpr *boolExpr) |
| 515 | { |
| 516 | ListCell *argCell; |
| 517 | foreach(argCell, boolExpr->args) |
| 518 | { |
| 519 | Expr *innerArg = (Expr *) lfirst(argCell); |
| 520 | |
| 521 | pgbson_writer branchWriter; |
| 522 | PgbsonArrayWriterStartDocument(writer, &branchWriter); |
| 523 | WriteQuals(&branchWriter, list_make1(innerArg)); |
| 524 | PgbsonArrayWriterEndDocument(writer, &branchWriter); |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | |
| 529 | static void |
no test coverage detected