summaryrefslogtreecommitdiff
path: root/docs/src/examples.dox
blob: d0a249aecb6b4fdd26c4577376033d20533397ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*!
@example ex_hello.c
This is an example of how to create and open a database.

@example ex_access.c
Create, insert and access a simple table.

@example ex_all.c
Demonstrate how to call every method in the API.

@example ex_config.c
Shows how to configure some properties of the database and tables.

@example ex_cursor.c
Shows some common cursor types and operations.

@example ex_pack.c
Shows basic packing and unpacking of fields.

@cond sharing
@notyet{inter-process sharing}
@example ex_process.c
Shows how to connect to a database from multiple processes.
@endcond

@example ex_stat.c
Shows how to access database and table statistics.

@example ex_schema.c
Shows how to create column-oriented data and access individual columns.

@example ex_thread.c
Shows how to access a database with multiple threads.

@example ex_transaction.c
Shows how to use transactions.  @notyet{transactions}

@example ex_call_center.c
A more complex schema based on a call center example, showing how to map some
SQL constructs onto the WiredTiger API.

@example ex_extending.c
Shows how to extend WiredTiger with application-specific collations, extractors and cursor types.
 */