add a Finder::order_by(...) method

This commit is contained in:
2024-07-02 21:52:04 +02:00
parent 8e757aff71
commit 0e6df30a42

View File

@@ -967,6 +967,19 @@ public:
}
Finder<ModelClass> & order_by(const wchar_t * sql)
{
if( out_stream )
{
(*out_stream) << L" ORDER BY ";
(*out_stream) << sql;
(*out_stream) << ' ';
}
return *this;
}
/*
* like
*/