Closed ddmap2006 closed 4 years ago
auto posts = db.posts().query() ->whete(Post::idField() == 1 && Post::readFile()==false) ->orderBy(!Post::idField()) ->toList();
like above write two condition where is null. how to resolve
Can you explain a bit more? What you want to put into where clause? This code is correct and works
auto posts = db.posts().query() ->whete(Post::idField() == 1 && Post::readFile()==false) ->orderBy(!Post::idField()) ->toList();
like above write two condition where is null. how to resolve