l.a.m.q.QuestionTargetSearch(QuestionSearch) : class documentation

Part of lp.answers.model.question View In Hierarchy

Search questions in an IQuestionTarget context.

Used to implement IQuestionTarget.searchQuestions().

Method __init__ Undocumented
Method getConstraints See QuestionSearch.
Method getPrejoins See QuestionSearch.

Inherited from QuestionSearch:

Method getTargetConstraints Return the constraints related to the IQuestionTarget context.
Method getTableJoins Return the tables that should be joined for the constraints.
Method getMessageJoins Create the joins needed to select constraints on the messages by a
Method getProductJoins Create the joins needed to select constraints on projects by a
Method getActivePillarJoins Create the joins needed to select constraints on active pillars.
Method getPrejoinClauseTables Return a list of tables that are in the contraints
Method getOrderByClause Return the ORDER BY clause to use for this search's results.
Method getResults Return the questions that match this query.
def __init__(self, search_text=None, status=QUESTION_STATUS_DEFAULT_SEARCH, language=None, sort=None, owner=None, needs_attention_from=None, unsupported_target=None, projectgroup=None, product=None, distribution=None, sourcepackagename=None):
Undocumented
def getConstraints(self):
See QuestionSearch.

Return target and language constraints in addition to the base class constraints.

def getPrejoins(self):
See QuestionSearch.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.