| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
cMatchProvider --+
|
cMatchProvider_SQL2
Match provider which searches matches
in possibly several database tables.
queries:
- a list of unicode strings
- each string is a query
- each string must contain: "... where <column> %(fragment_condition)s ..."
- each string can contain in the where clause: "... %(<context_key>)s ..."
- each query must return (data, label)
context definitions to be used in the queries
example: {'ctxt_country': {'where_part': 'and country = %(country)s', 'placeholder': 'country'}}
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
|
Inherited from |
| Properties | |
|
Inherited from Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Return all items.
|
Return matches for aFragment at start of phrases.
|
Return matches for aFragment as a true substring.
|
Return matches for aFragment at start of words inside phrases.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 29 04:04:20 2010 | http://epydoc.sourceforge.net |