From e5d8d42eae6ce486678d87e33c1a7c26e2a6c1a1 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 15 Feb 2023 10:01:00 -0500 Subject: Added antogram and antophone querying --- lib/statement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/statement.cpp') diff --git a/lib/statement.cpp b/lib/statement.cpp index 6e9e920..eb734dd 100644 --- a/lib/statement.cpp +++ b/lib/statement.cpp @@ -420,7 +420,7 @@ namespace verbly { topTable_, clause.getField().getColumn(), withInstName, - clause.getField().getColumn()); + clause.getField().getForeignColumn()); // All CTEs have to be in the main statement, so integrate any // CTEs that our subquery uses. Also, retrieve the table mapping, @@ -450,7 +450,7 @@ namespace verbly { topTable_, clause.getField().getColumn(), std::move(joinTable), - clause.getField().getColumn()); + clause.getField().getForeignColumn()); // Integrate the subquery's table mappings, joins, and CTEs into // this statement, and return the subquery condition as our -- cgit 1.4.1