EDataBook.DataBookCursorSqlite¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w/co |
The |
||
w/co |
The |
||
w/co |
The key name to fetch the revision from the sqlite backend |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataBook.DataBookCursorSqlite(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque handle for the SQLite cursor instance.
New in version 3.12.
- classmethod new(backend, ebsql, revision_key, sort_fields, sort_types)¶
- Parameters:
backend (
EDataBook.BookBackend
) – theEDataBook.BookBackend
creating this cursorebsql (
EDataBook.BookSqlite
) – theEDataBook.BookSqlite
object to base this cursor onrevision_key (
str
) – The key name to consult for the current overall contacts database revisionsort_fields ([
EBookContacts.ContactField
]) – an array ofEBookContacts.ContactFields
as sort keys in order of prioritysort_types ([
EBookContacts.BookCursorSortType
]) – an array ofEBookContacts.BookCursorSortTypes
, one for each field in sort_fields
- Raises:
- Returns:
A newly created
EDataBook.DataBookCursor
, orNone
if cursor creation failed.- Return type:
Creates an
EDataBook.DataBookCursor
and implements all of the cursor methods using the delegate ebsql object.This is a suitable cursor type for any backend which stores its contacts using the
EDataBook.BookSqlite
object.New in version 3.12.
Property Details¶
- EDataBook.DataBookCursorSqlite.props.cursor¶
- Name:
cursor
- Type:
- Default Value:
- Flags:
The
EDataBook.bSqlCursor
pointer
- EDataBook.DataBookCursorSqlite.props.ebsql¶
- Name:
ebsql
- Type:
- Default Value:
- Flags:
The
EDataBook.BookSqlite
to use for queries
- EDataBook.DataBookCursorSqlite.props.revision_key¶
- Name:
revision-key
- Type:
- Default Value:
- Flags:
The key name to fetch the revision from the sqlite backend