RB.SourceSearch.create_query

@accepts(RB.RhythmDB, utf8)
@returns(RB.RhythmDBQuery)
def do_create_query(self, db, search_text):

Creates a RB.RhythmDBQuery from the user's search text.

db :

the RB.RhythmDB

search_text :

the search text

Returns :

RB.RhythmDBQuery for the source to use