BookSqlite


Description:

[ CCode ( has_construct_function = false ) ]
public BookSqlite (string path, Source? source, Cancellable? cancellable = null) throws Error

Creates a new BookSqlite with the default summary configuration.

Aside from the manditory fields e_contact_uid, e_contact_rev, the default configuration stores the following fields for quick performance of searches: e_contact_file_as, e_contact_nickname, e_contact_full_name, e_contact_given_name, e_contact_family_name, e_contact_email, e_contact_tel, e_contact_is_list, e_contact_list_show_addresses, and e_contact_wants_html.

The fields e_contact_full_name and e_contact_email are configured to respond extra quickly with the e_book_index_prefix index flag.

The fields e_contact_file_as, e_contact_family_name and e_contact_given_name are configured to perform well with the bSqlCursor interface, using the e_book_index_sort_key index flag.

Parameters:

path

location to load or create the new database

source

an optional Source, associated with the BookSqlite, or null

cancellable

A Cancellable

Returns:

A reference to an BookSqlite