query << "SELECT DISTINCT \"internalIP\", COUNT(DISTINCT \"externalIP\"), "
<< "SUM(\"numBytes\"), SUM(\"content\") FROM \""
<< NON_DNS_TRAFFIC_SCHEMA_NAME << "\".\"" << date
<< "\" GROUP BY \"internalIP\"";
result = PQexecParams(postgreSQL, query.str().c_str(), 0, NULL, NULL, NULL, NULL, 1);
このクエリの意味は何ですか? また、機能について何か考えはありますPQexecParams()
か?