MCPcopy Create free account
hub / github.com/Restream/reindexer / dumpSQLWhere

Method dumpSQLWhere

cpp_src/core/query/sql/sqlencoder.cc:550–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548
549template <typename Formatter>
550void SQLEncoder<Formatter>::dumpSQLWhere(bool stripArgs) const {
551 if (query_.Entries().Empty()) {
552 return;
553 }
554 formatter_.Next();
555 formatter_.Serializer() << "WHERE";
556 {
557 const auto whereGuard = formatter_.StartBlock();
558 dumpWhereEntries(query_.Entries().cbegin(), query_.Entries().cend(), stripArgs);
559 dumpEqualPositions(query_.Entries().equalPositions);
560 }
561}
562
563template class SQLEncoder<SingleLineSqlFormatter>;
564template class SQLEncoder<PrettySqlFormatter>;

Callers

nothing calls this directly

Calls 6

SerializerMethod · 0.80
StartBlockMethod · 0.80
EmptyMethod · 0.45
NextMethod · 0.45
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected