|
def | search_for (self, obj_type) |
|
def | do_lookup_create_oo_instance (self, lookup_function, cls, args) |
|
Definition at line 1196 of file gnucash_core.py.
◆ search_for()
def python.gnucash_core.Query.search_for |
( |
|
self, |
|
|
|
obj_type |
|
) |
| |
Set search_for to obj_type
calls qof_query_search_for. Buffers search string for queries lifetime.
@see https://bugs.gnucash.org/show_bug.cgi?id=796137
Definition at line 1198 of file gnucash_core.py.
1198 def search_for(self, obj_type):
1199 """Set search_for to obj_type 1201 calls qof_query_search_for. Buffers search string for queries lifetime. 1202 @see https://bugs.gnucash.org/show_bug.cgi?id=796137""" 1203 self.__search_for_buf = obj_type
1204 self._search_for(self.__search_for_buf)
1206 Query.add_constructor_and_methods_with_prefix(
'qof_query_',
'create', exclude=[
"qof_query_search_for"])
1208 Query.add_method(
'qof_query_set_book',
'set_book')
1209 Query.add_method(
'qof_query_search_for',
'_search_for')
1210 Query.add_method(
'qof_query_run',
'run')
1211 Query.add_method(
'qof_query_add_term',
'add_term')
1212 Query.add_method(
'qof_query_add_boolean_match',
'add_boolean_match')
1213 Query.add_method(
'qof_query_add_guid_list_match',
'add_guid_list_match')
1214 Query.add_method(
'qof_query_add_guid_match',
'add_guid_match')
1215 Query.add_method(
'qof_query_destroy',
'destroy')
The documentation for this class was generated from the following file: