1SNOBOL4SQLITE3DBM(3)            CSNOBOL4 Manual           SNOBOL4SQLITE3DBM(3)
2
3
4

NAME

6       snobol4sqlite3dbm - "dbm" style interface for SNOBOL4 using SQLite3
7

SYNOPSIS

9           -INCLUDE 'sqlite3dbm.3'
10
11                   dbhandle = SQL3DBM_OPEN(file,flags,mode)
12
13                   SQL3DBM_CLOSE(dbhandle)
14
15                   SQL3DBM_STORE(dbhandle,key,datum,flags)
16
17                   datum = SQL3DBM_FETCH(dbhandle,key)
18
19                   SQL3DBM_DELETE(dbhandle,key)
20
21                   key = SQL3DBM_FIRSTKEY(dbhandle)
22
23                   key = SQL3DBM_NEXTKEY(dbhandle)
24
25                   SQL3DBM_ERRMSG(dbhandle)
26

DESCRIPTION

28       A DBM compatible interface for snobol4(1) using the sqlite3 embedded
29       database engine, and allows concurrent access by multiple processes.
30
31       SQL3DBM_OPEN
32           takes a filename (STRING), and ignores any additional arguments,
33           and returns a database handle.
34
35       SQL3DBM_CLOSE
36           takes a database handle and closes it.
37
38       SQL3DBM_STORE
39           takes a database handle, a key, a value, and a flag, one of
40           SQL3DBM_INSERT or SQL3DBM_REPLACE.
41
42       SQL3DBM_FETCH
43           takes a database handle and a key and returns a datum (if any)
44           stored with that key.
45
46       SQL3DBM_DELETE
47           takes a database handle and a key and deletes the stored datum (if
48           any).
49
50       SQL3DBM_FIRSTKEY
51           takes a database handle and returns a database key.
52
53       SQL3DBM_NEXTKEY
54           takes a database handle and returns a database key when called
55           after SQL3DBM_FIRSTKEY.
56
57       SQL3DBM_ERRMSG
58           takes a database handle and string for the last sqlite3 database
59           error.
60

COMPATIBILITY

62       database compatible with Python sqlite3dbm
63

SEE ALSO

65       snobol4(1), snobol4dbm(3), sqlite3(1)
66

AUTHOR

68       Philip L. Budne
69
70
71
72CSNOBOL4B 2.3.1                 March 31, 2022            SNOBOL4SQLITE3DBM(3)
Impressum