LuaSQLite3

Check-in [ba0ad5e0f0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Link to slqlite docs on multiple library copies.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: ba0ad5e0f0637370a214d705fdd5c3aeb5d33361
User & Date: javier 2021-09-07 13:51:37
Context
2021-09-07
13:51
Link to slqlite docs on multiple library copies. Leaf check-in: ba0ad5e0f0 user: javier tags: trunk
13:20
Add note warning against statically linking separate copies of SQLite. check-in: 21108a8672 user: javier tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/lsqlite3.wiki.

138
139
140
141
142
143
144
145
146

147
148
149
150
151
152
153
To use this module you need the SQLite3 library (DLL or .so).
You can get it from <a href="http://www.sqlite.org/">http://www.sqlite.org/</a>
</p>
<p>The module <code>lsqlite3complete</code> links SQLite3 statically.
The SQLite3 amalgamation source code is included in 
the LuaSQLite 3 distribution.  This can simplify deployment, but might
result in more than one copy of the SQLite library if other parts
of the code also include it.  Data loss can occur if different versions of
SQLite are used in the same process at the same time.</p>

<p>Both modules support the creation and manipulation of 
SQLite3 databases. After a <code>sqlite3 = require('lsqlite3')</code> 
(or <code>sqlite3 = require('lsqlite3complete')</code>) the exported 
functions are called with prefix <code>sqlite3</code>. However, most sqlite3 
functions are called via an object-oriented interface to either 
database or SQL statement objects; see below for details.</p>
<p>This documentation does not attempt to describe how SQLite3 itself







|
|
>







138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
To use this module you need the SQLite3 library (DLL or .so).
You can get it from <a href="http://www.sqlite.org/">http://www.sqlite.org/</a>
</p>
<p>The module <code>lsqlite3complete</code> links SQLite3 statically.
The SQLite3 amalgamation source code is included in 
the LuaSQLite 3 distribution.  This can simplify deployment, but might
result in more than one copy of the SQLite library if other parts
of the code also include it.  See
<a href="http://www.sqlite.org/howtocorrupt.html#multiple_copies_of_sqlite_linked_into_the_same_application">http://www.sqlite.org/howtocorrupt.html</a>
for an explanation on why it would be a bad idea.</p>
<p>Both modules support the creation and manipulation of 
SQLite3 databases. After a <code>sqlite3 = require('lsqlite3')</code> 
(or <code>sqlite3 = require('lsqlite3complete')</code>) the exported 
functions are called with prefix <code>sqlite3</code>. However, most sqlite3 
functions are called via an object-oriented interface to either 
database or SQL statement objects; see below for details.</p>
<p>This documentation does not attempt to describe how SQLite3 itself