We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 771d6ec commit 8e73c33Copy full SHA for 8e73c33
1 file changed
src/duckdb_py/pystatement.cpp
@@ -92,6 +92,12 @@ py::list DuckDBPyStatement::ExpectedResultType() const {
92
possibilities.append(StatementReturnType::NOTHING);
93
break;
94
}
95
+ case StatementType::MERGE_INTO_STATEMENT: {
96
+ possibilities.append(StatementReturnType::CHANGED_ROWS);
97
+ possibilities.append(StatementReturnType::QUERY_RESULT);
98
+ possibilities.append(StatementReturnType::NOTHING);
99
+ break;
100
+ }
101
default: {
102
throw InternalException("Unrecognized StatementType in ExpectedResultType: %s",
103
StatementTypeToString(statement->type));
0 commit comments