Closed artem-zinnatullin closed 9 years ago
I prefer where
. Does only dbHelper
and contentProvider
use selection
name? At low level dbHelper
also translate it to where
. %)
Hehe :) Okay, where
вт, 17 марта 2015, 0:43, Dmitrii Nikitin notifications@github.com:
I prefer where. Does only dbHelper and contentProvider use selection name? At low level dbHelper also translate it to where. %)
— Reply to this email directly or view it on GitHub https://github.com/pushtorefresh/storio/issues/118#issuecomment-81954969 .
Query.where -> Query.selection
Query.whereArgs -> Query.selectionArgs
For better consistency with
SQLiteDatabase#query()
andContentProvider#query()
.But, actually
where
looks much more understandable thanselection
, especially forContentProvider
@nikitin-da your opinion?