|
| def | search_for (self, obj_type) |
| |
|
def | do_lookup_create_oo_instance (self, lookup_function, cls, args) |
| |
Definition at line 1276 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 1278 of file gnucash_core.py.
1278 def search_for(self, obj_type):
1279 """Set search_for to obj_type 1281 calls qof_query_search_for. Buffers search string for queries lifetime. 1282 @see https://bugs.gnucash.org/show_bug.cgi?id=796137""" 1283 self.__search_for_buf = obj_type
1284 self._search_for(self.__search_for_buf)
1286 Query.add_constructor_and_methods_with_prefix(
'qof_query_',
'create', exclude=[
"qof_query_search_for"])
1288 Query.add_method(
'qof_query_set_book',
'set_book')
1289 Query.add_method(
'qof_query_search_for',
'_search_for')
1290 Query.add_method(
'qof_query_run',
'run')
1291 Query.add_method(
'qof_query_add_term',
'add_term')
1292 Query.add_method(
'qof_query_add_boolean_match',
'add_boolean_match')
1293 Query.add_method(
'qof_query_add_guid_list_match',
'add_guid_list_match')
1294 Query.add_method(
'qof_query_add_guid_match',
'add_guid_match')
1295 Query.add_method(
'qof_query_destroy',
'destroy')
The documentation for this class was generated from the following file: