findFirstCollection

fun findFirstCollection(where: String? = null, whereArgs: Array<String>? = null, sortOrder: String? = null): JtxCollection?

Queries existing jtx collections and returns the first one that matches the search criteria.

Return

first collection that matches the search criteria (or null)

Parameters

where

selection

whereArgs

arguments for selection

sortOrder

sort order

Throws

when the content provider returns an error