QueryFilter documentation

Hello. Looked thru simular questions, unfortunatelly not found clear answer.

What is the proper way to add filter to data source programmatically

  • if datasource not have a query
  • and filter not consists of OR/AND parts - just EQ condition

Please add this examples to documentaation - in it only xml part now
(Query Filter - CUBA Platform. Developer’s Manual)


Normally you don’t need to create QueryFilter programmatically. Why not just modify the query string directly?