Filter during sql selection instead of with Dart. However, needed to consider that there is a limit (default 1million bytes) on sql length for sqlite