@cpp.js/package-sqlite3 1.0.0 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -91
- package/cppjs.config.js +6 -10
- package/package.json +10 -17
- package/CHANGELOG.md +0 -20
- package/README.md +0 -50
- package/cppjs-package-sqlite3.podspec +0 -13
- package/cppjs.build.js +0 -22
- package/dist/prebuilt/Android-arm64-v8a/include/sqlite3.h +0 -13620
- package/dist/prebuilt/Android-arm64-v8a/include/sqlite3ext.h +0 -719
- package/dist/prebuilt/Android-arm64-v8a/lib/libsqlite3.la +0 -41
- package/dist/prebuilt/Android-arm64-v8a/lib/libsqlite3.so +0 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/sqlite3.pc +0 -13
- package/dist/prebuilt/Android-arm64-v8a/share/man/man1/sqlite3.1 +0 -161
- package/dist/prebuilt/Android-x86_64/include/sqlite3.h +0 -13620
- package/dist/prebuilt/Android-x86_64/include/sqlite3ext.h +0 -719
- package/dist/prebuilt/Android-x86_64/lib/libsqlite3.la +0 -41
- package/dist/prebuilt/Android-x86_64/lib/libsqlite3.so +0 -0
- package/dist/prebuilt/Android-x86_64/lib/pkgconfig/sqlite3.pc +0 -13
- package/dist/prebuilt/Android-x86_64/share/man/man1/sqlite3.1 +0 -161
- package/dist/prebuilt/CMakeLists.txt +0 -44
- package/dist/prebuilt/Emscripten-x86_64/include/sqlite3.h +0 -13620
- package/dist/prebuilt/Emscripten-x86_64/include/sqlite3ext.h +0 -719
- package/dist/prebuilt/Emscripten-x86_64/lib/libsqlite3.a +0 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libsqlite3.la +0 -41
- package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/sqlite3.pc +0 -13
- package/dist/prebuilt/Emscripten-x86_64/share/man/man1/sqlite3.1 +0 -161
- package/dist/prebuilt/iOS-iphoneos/include/sqlite3.h +0 -13620
- package/dist/prebuilt/iOS-iphoneos/include/sqlite3ext.h +0 -719
- package/dist/prebuilt/iOS-iphoneos/lib/libsqlite3.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libsqlite3.la +0 -41
- package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/sqlite3.pc +0 -13
- package/dist/prebuilt/iOS-iphoneos/share/man/man1/sqlite3.1 +0 -161
- package/dist/prebuilt/iOS-iphonesimulator/include/sqlite3.h +0 -13620
- package/dist/prebuilt/iOS-iphonesimulator/include/sqlite3ext.h +0 -719
- package/dist/prebuilt/iOS-iphonesimulator/lib/libsqlite3.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libsqlite3.la +0 -41
- package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/sqlite3.pc +0 -13
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/sqlite3.1 +0 -161
- package/sqlite3.xcframework/Info.plist +0 -50
- package/sqlite3.xcframework/ios-arm64_arm64e/Headers/sqlite3.h +0 -13620
- package/sqlite3.xcframework/ios-arm64_arm64e/Headers/sqlite3ext.h +0 -719
- package/sqlite3.xcframework/ios-arm64_arm64e/libsqlite3.a +0 -0
- package/sqlite3.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/sqlite3.h +0 -13620
- package/sqlite3.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/sqlite3ext.h +0 -719
- package/sqlite3.xcframework/ios-arm64_arm64e_x86_64-simulator/libsqlite3.a +0 -0
|
Binary file
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# libsqlite3.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.7 Debian-2.4.7-7build1
|
|
3
|
-
#
|
|
4
|
-
# Please DO NOT delete this file!
|
|
5
|
-
# It is necessary for linking the library.
|
|
6
|
-
|
|
7
|
-
# The name that we can dlopen(3).
|
|
8
|
-
dlname=''
|
|
9
|
-
|
|
10
|
-
# Names of this library.
|
|
11
|
-
library_names=''
|
|
12
|
-
|
|
13
|
-
# The name of the static archive.
|
|
14
|
-
old_library='libsqlite3.a'
|
|
15
|
-
|
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
|
17
|
-
inherited_linker_flags=''
|
|
18
|
-
|
|
19
|
-
# Libraries that this one depends upon.
|
|
20
|
-
dependency_libs=' -L/tmp/cppjs/live/packages/cppjs-package-zlib/dist/prebuilt/Emscripten-x86_64/lib -lz'
|
|
21
|
-
|
|
22
|
-
# Names of additional weak libraries provided by this library
|
|
23
|
-
weak_library_names=''
|
|
24
|
-
|
|
25
|
-
# Version information for libsqlite3.
|
|
26
|
-
current=8
|
|
27
|
-
age=8
|
|
28
|
-
revision=6
|
|
29
|
-
|
|
30
|
-
# Is this an already installed library?
|
|
31
|
-
installed=yes
|
|
32
|
-
|
|
33
|
-
# Should we warn about portability when linking against -modules?
|
|
34
|
-
shouldnotlink=no
|
|
35
|
-
|
|
36
|
-
# Files to dlopen/dlpreopen
|
|
37
|
-
dlopen=''
|
|
38
|
-
dlpreopen=''
|
|
39
|
-
|
|
40
|
-
# Directory that this library needs to be installed in:
|
|
41
|
-
libdir='/tmp/cppjs/live/packages/cppjs-package-sqlite3/.cppjs/build/Source-Release/prebuilt/Emscripten-x86_64/lib'
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Package Information for pkg-config
|
|
2
|
-
|
|
3
|
-
prefix=/tmp/cppjs/live/packages/cppjs-package-sqlite3/.cppjs/build/Source-Release/prebuilt/Emscripten-x86_64
|
|
4
|
-
exec_prefix=${prefix}
|
|
5
|
-
libdir=${exec_prefix}/lib
|
|
6
|
-
includedir=${prefix}/include
|
|
7
|
-
|
|
8
|
-
Name: SQLite
|
|
9
|
-
Description: SQL database engine
|
|
10
|
-
Version: 3.48.0
|
|
11
|
-
Libs: -L${libdir} -lsqlite3
|
|
12
|
-
Libs.private: @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@
|
|
13
|
-
Cflags: -I${includedir}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
.\" Hey, EMACS: -*- nroff -*-
|
|
2
|
-
.\" First parameter, NAME, should be all caps
|
|
3
|
-
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
4
|
-
.\" other parameters are allowed: see man(7), man(1)
|
|
5
|
-
.TH SQLITE3 1 "Fri Aug 11 23:50:12 CET 2023"
|
|
6
|
-
.\" Please adjust this date whenever revising the manpage.
|
|
7
|
-
.\"
|
|
8
|
-
.\" Some roff macros, for reference:
|
|
9
|
-
.\" .nh disable hyphenation
|
|
10
|
-
.\" .hy enable hyphenation
|
|
11
|
-
.\" .ad l left justify
|
|
12
|
-
.\" .ad b justify to both left and right margins
|
|
13
|
-
.\" .nf disable filling
|
|
14
|
-
.\" .fi enable filling
|
|
15
|
-
.\" .br insert line break
|
|
16
|
-
.\" .sp <n> insert n+1 empty lines
|
|
17
|
-
.\" for manpage-specific macros, see man(7)
|
|
18
|
-
.SH NAME
|
|
19
|
-
.B sqlite3
|
|
20
|
-
\- A command line interface for SQLite version 3
|
|
21
|
-
|
|
22
|
-
.SH SYNOPSIS
|
|
23
|
-
.B sqlite3
|
|
24
|
-
.RI [ options ]
|
|
25
|
-
.RI [ databasefile ]
|
|
26
|
-
.RI [ SQL ]
|
|
27
|
-
|
|
28
|
-
.SH SUMMARY
|
|
29
|
-
.PP
|
|
30
|
-
.B sqlite3
|
|
31
|
-
is a terminal-based front-end to the SQLite library that can evaluate
|
|
32
|
-
queries interactively and display the results in multiple formats.
|
|
33
|
-
.B sqlite3
|
|
34
|
-
can also be used within shell scripts and other applications to provide
|
|
35
|
-
batch processing features.
|
|
36
|
-
|
|
37
|
-
.SH DESCRIPTION
|
|
38
|
-
To start a
|
|
39
|
-
.B sqlite3
|
|
40
|
-
interactive session, invoke the
|
|
41
|
-
.B sqlite3
|
|
42
|
-
command and optionally provide the name of a database file. If the
|
|
43
|
-
database file does not exist, it will be created. If the database file
|
|
44
|
-
does exist, it will be opened.
|
|
45
|
-
|
|
46
|
-
For example, to create a new database file named "mydata.db", create
|
|
47
|
-
a table named "memos" and insert a couple of records into that table:
|
|
48
|
-
.sp
|
|
49
|
-
$
|
|
50
|
-
.B sqlite3 mydata.db
|
|
51
|
-
.br
|
|
52
|
-
SQLite version 3.43.0 2023-08-11 17:45:23
|
|
53
|
-
.br
|
|
54
|
-
Enter ".help" for usage hints.
|
|
55
|
-
.br
|
|
56
|
-
sqlite>
|
|
57
|
-
.B create table memos(text, priority INTEGER);
|
|
58
|
-
.br
|
|
59
|
-
sqlite>
|
|
60
|
-
.B insert into memos values('deliver project description', 10);
|
|
61
|
-
.br
|
|
62
|
-
sqlite>
|
|
63
|
-
.B insert into memos values('lunch with Christine', 100);
|
|
64
|
-
.br
|
|
65
|
-
sqlite>
|
|
66
|
-
.B select * from memos;
|
|
67
|
-
.br
|
|
68
|
-
deliver project description|10
|
|
69
|
-
.br
|
|
70
|
-
lunch with Christine|100
|
|
71
|
-
.br
|
|
72
|
-
sqlite>
|
|
73
|
-
.sp
|
|
74
|
-
|
|
75
|
-
If no database name is supplied, the ATTACH sql command can be used
|
|
76
|
-
to attach to existing or create new database files. ATTACH can also
|
|
77
|
-
be used to attach to multiple databases within the same interactive
|
|
78
|
-
session. This is useful for migrating data between databases,
|
|
79
|
-
possibly changing the schema along the way.
|
|
80
|
-
|
|
81
|
-
Optionally, a SQL statement or set of SQL statements can be supplied as
|
|
82
|
-
a single argument. Multiple statements should be separated by
|
|
83
|
-
semi-colons.
|
|
84
|
-
|
|
85
|
-
For example:
|
|
86
|
-
.sp
|
|
87
|
-
$
|
|
88
|
-
.B sqlite3 -line mydata.db 'select * from memos where priority > 20;'
|
|
89
|
-
.br
|
|
90
|
-
text = lunch with Christine
|
|
91
|
-
.br
|
|
92
|
-
priority = 100
|
|
93
|
-
.br
|
|
94
|
-
.sp
|
|
95
|
-
|
|
96
|
-
.SS SQLITE META-COMMANDS
|
|
97
|
-
.PP
|
|
98
|
-
The interactive interpreter offers a set of meta-commands that can be
|
|
99
|
-
used to control the output format, examine the currently attached
|
|
100
|
-
database files, or perform administrative operations upon the
|
|
101
|
-
attached databases (such as rebuilding indices). Meta-commands are
|
|
102
|
-
always prefixed with a dot (.).
|
|
103
|
-
|
|
104
|
-
A list of available meta-commands can be viewed at any time by issuing
|
|
105
|
-
the '.help' command. For example:
|
|
106
|
-
.sp
|
|
107
|
-
sqlite>
|
|
108
|
-
.B .help
|
|
109
|
-
.nf
|
|
110
|
-
.tr %.
|
|
111
|
-
...
|
|
112
|
-
.sp
|
|
113
|
-
.fi
|
|
114
|
-
|
|
115
|
-
The available commands differ by version and build options, so they
|
|
116
|
-
are not listed here. Please refer to your local copy for all available
|
|
117
|
-
options.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
.SH INIT FILE
|
|
121
|
-
.B sqlite3
|
|
122
|
-
reads an initialization file to set the configuration of the
|
|
123
|
-
interactive environment. Throughout initialization, any previously
|
|
124
|
-
specified setting can be overridden. The sequence of initialization is
|
|
125
|
-
as follows:
|
|
126
|
-
|
|
127
|
-
o The default configuration is established as follows:
|
|
128
|
-
|
|
129
|
-
.sp
|
|
130
|
-
.nf
|
|
131
|
-
.cc |
|
|
132
|
-
mode = LIST
|
|
133
|
-
separator = "|"
|
|
134
|
-
main prompt = "sqlite> "
|
|
135
|
-
continue prompt = " ...> "
|
|
136
|
-
|cc .
|
|
137
|
-
.sp
|
|
138
|
-
.fi
|
|
139
|
-
|
|
140
|
-
o If the file
|
|
141
|
-
.B ${XDG_CONFIG_HOME}/sqlite3/sqliterc
|
|
142
|
-
or
|
|
143
|
-
.B ~/.sqliterc
|
|
144
|
-
exists, the first of those to be found is processed during startup.
|
|
145
|
-
It should generally only contain meta-commands.
|
|
146
|
-
|
|
147
|
-
o If the -init option is present, the specified file is processed.
|
|
148
|
-
|
|
149
|
-
o All other command line options are processed.
|
|
150
|
-
|
|
151
|
-
.SH SEE ALSO
|
|
152
|
-
https://sqlite.org/cli.html
|
|
153
|
-
.br
|
|
154
|
-
https://sqlite.org/fiddle (a WebAssembly build of the CLI app)
|
|
155
|
-
.br
|
|
156
|
-
The sqlite3-doc package.
|
|
157
|
-
.SH AUTHOR
|
|
158
|
-
This manual page was originally written by Andreas Rottmann
|
|
159
|
-
<rotty@debian.org>, for the Debian GNU/Linux system (but may be used
|
|
160
|
-
by others). It was subsequently revised by Bill Bumgarner <bbum@mac.com>,
|
|
161
|
-
Laszlo Boszormenyi <gcs@debian.hu>, and the sqlite3 developers.
|