fix: correctly escape output stream buffer for models getters

This commit is contained in:
2022-05-31 01:45:27 +02:00
parent 21117e24c0
commit 1ace47266d
2 changed files with 18 additions and 3 deletions

View File

@@ -44,6 +44,10 @@ namespace morm
BaseExpression::BaseExpression()
{
/*
* may it would be better for the ModelConnector/JSONConnector/PostgreSQLConnector to provide one scratch buffer?
*/
scratch_buffer = &scratch_buffer_local;
clear();
}