MCPcopy Index your code
hub / github.com/MapServer/MapServer / writeJoin

Function writeJoin

mapfile.c:744–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744static void writeJoin(FILE *stream, int indent, joinObj *join)
745{
746 indent++;
747 writeBlockBegin(stream, indent, "JOIN");
748 writeString(stream, indent, "FOOTER", NULL, join->footer);
749 writeString(stream, indent, "FROM", NULL, join->from);
750 writeString(stream, indent, "HEADER", NULL, join->header);
751 writeString(stream, indent, "NAME", NULL, join->name);
752 writeString(stream, indent, "TABLE", NULL, join->table);
753 writeString(stream, indent, "TEMPLATE", NULL, join->template);
754 writeString(stream, indent, "TO", NULL, join->to);
755 writeKeyword(stream, indent, "CONNECTIONTYPE", join->connectiontype, 3, MS_DB_CSV, "CSV", MS_DB_POSTGRES, "POSTRESQL", MS_DB_MYSQL, "MYSQL");
756 writeKeyword(stream, indent, "TYPE", join->type, 1, MS_JOIN_ONE_TO_MANY, "ONE-TO-MANY");
757 writeBlockEnd(stream, indent, "JOIN");
758}
759
760/* inserts a feature at the end of the list, can create a new list */
761featureListNodeObjPtr insertFeatureList(featureListNodeObjPtr *list, shapeObj *shape)

Callers 1

writeLayerFunction · 0.85

Calls 4

writeBlockBeginFunction · 0.85
writeStringFunction · 0.85
writeKeywordFunction · 0.85
writeBlockEndFunction · 0.85

Tested by

no test coverage detected