source: project/wiki/eggref/5/awful-sqlite3 @ 36624

Last change on this file since 36624 was 36624, checked in by Mario Domenech Goulart, 18 months ago

eggref/5/awful-sqlite3: add documentation of awful-sqlite3 for CHICKEN 5

File size: 3.2 KB
Line 
1== awful-sqlite3
2
3[[toc:]]
4
5=== Description
6
7Sqlite3 support for [[/eggref/4/awful|awful]].
8
9This extension provides the {{enable-db}} and
10{{switch-to-sqlite3-database}} procedure which add Sqlite3 support for
11awful, based on the features provided by the
12[[/eggref/4/sqlite3|sqlite3 egg]].
13
14=== Author
15
16[[/users/mario-domenech-goulart|Mario Domenech Goulart]]
17
18
19=== Repository
20
21[[https://github.com/mario-goulart/awful-sqlite3|https://github.com/mario-goulart/awful-sqlite3]]
22
23
24=== Requirements
25
26* [[/eggref/4/awful|awful]]
27* [[/eggref/4/sqlite3|sqlite3]]
28
29
30=== Procedures
31
32==== {{enable-db}}
33<procedure>(enable-db)</procedure>
34
35Enable Sqlite3 support for
36[[/eggref/4/awful|awful]].  This procedure
37basically sets up awful to use the connection, disconnection, query
38and query escaping procedures for Sqlite3 databases.
39
40==== {{switch-to-sqlite3-database}}
41<procedure>(switch-to-sqlite3-database)</procedure>
42
43Resets all the awful db-related parameters to sqlite3 values (for when
44using multiple databases under the same awful server).
45
46
47See also the
48[[/eggref/4/awful-sql-de-lite|awful-sql-de-lite]]
49egg for Sqlite3 support using the
50[[/eggref/4/sql-de-lite|sql-de-lite]] egg.
51
52
53=== License
54
55 Copyright (c) 2008-2018, Mario Domenech Goulart
56 All rights reserved.
57 
58 Redistribution and use in source and binary forms, with or without
59 modification, are permitted provided that the following conditions are
60 met:
61 
62 Redistributions of source code must retain the above copyright
63 notice, this list of conditions and the following disclaimer.
64 
65 Redistributions in binary form must reproduce the above copyright
66 notice, this list of conditions and the following disclaimer in the
67 documentation and/or other materials provided with the distribution.
68 
69 Neither the name of the author nor the names of its contributors may
70 be used to endorse or promote products derived from this software
71 without specific prior written permission.
72 
73 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
74 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
75 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
76 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
77 COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
78 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
79 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
80 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
81 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
82 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
83 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
84 OF THE POSSIBILITY OF SUCH DAMAGE.
85
86
87=== Version history
88
89===== version 0.7.0
90* CHICKEN 5 support
91* Remove implementation of {{sql-quoter}} (deprecated in version 0.5)
92* Drop dependency on regex
93
94===== version 0.6.0
95* SSQL support
96
97===== version 0.5
98* Deprecate {{sql-quoter}}
99* Bug fix: actually use the {{default}} keyword parameter for {{(db-inquirer)}}
100
101===== version 0.4
102* Added {{switch-to-sqlite3-database}} procedure
103
104===== version 0.3
105* {{db-inquirer}} supports the {{values}} keyword parameter (patch by Stephen Eilert)
106
107===== version 0.2
108* Fix for {{sql-quoter}} (reflects on awful's {{sql-quote}})
109
110===== version 0.1
111* Initial release
Note: See TracBrowser for help on using the repository browser.