sqlite3/ext/misc
yezhengmao 6044cf0556 从上游同步代码 2023-06-27 18:34:42 +08:00
..
README.md 从上游同步代码 2023-06-27 18:34:42 +08:00
amatch.c 从上游同步代码 2023-06-27 18:34:42 +08:00
anycollseq.c 从上游同步代码 2023-06-27 18:34:42 +08:00
appendvfs.c 从上游同步代码 2023-06-27 18:34:42 +08:00
base64.c 从上游同步代码 2023-06-27 18:34:42 +08:00
base85.c 从上游同步代码 2023-06-27 18:34:42 +08:00
basexx.c 从上游同步代码 2023-06-27 18:34:42 +08:00
blobio.c 从上游同步代码 2023-06-27 18:34:42 +08:00
btreeinfo.c 从上游同步代码 2023-06-27 18:34:42 +08:00
carray.c 从上游同步代码 2023-06-27 18:34:42 +08:00
carray.h 从上游同步代码 2023-06-27 18:34:42 +08:00
cksumvfs.c 从上游同步代码 2023-06-27 18:34:42 +08:00
closure.c 从上游同步代码 2023-06-27 18:34:42 +08:00
completion.c 从上游同步代码 2023-06-27 18:34:42 +08:00
compress.c 从上游同步代码 2023-06-27 18:34:42 +08:00
csv.c 从上游同步代码 2023-06-27 18:34:42 +08:00
dbdump.c 从上游同步代码 2023-06-27 18:34:42 +08:00
decimal.c 从上游同步代码 2023-06-27 18:34:42 +08:00
eval.c 从上游同步代码 2023-06-27 18:34:42 +08:00
explain.c 从上游同步代码 2023-06-27 18:34:42 +08:00
fileio.c 从上游同步代码 2023-06-27 18:34:42 +08:00
fossildelta.c 从上游同步代码 2023-06-27 18:34:42 +08:00
fuzzer.c 从上游同步代码 2023-06-27 18:34:42 +08:00
ieee754.c 从上游同步代码 2023-06-27 18:34:42 +08:00
memstat.c 从上游同步代码 2023-06-27 18:34:42 +08:00
memtrace.c 从上游同步代码 2023-06-27 18:34:42 +08:00
memvfs.c 从上游同步代码 2023-06-27 18:34:42 +08:00
mmapwarm.c 从上游同步代码 2023-06-27 18:34:42 +08:00
nextchar.c 从上游同步代码 2023-06-27 18:34:42 +08:00
noop.c 从上游同步代码 2023-06-27 18:34:42 +08:00
normalize.c 从上游同步代码 2023-06-27 18:34:42 +08:00
percentile.c 从上游同步代码 2023-06-27 18:34:42 +08:00
prefixes.c 从上游同步代码 2023-06-27 18:34:42 +08:00
qpvtab.c 从上游同步代码 2023-06-27 18:34:42 +08:00
randomjson.c 从上游同步代码 2023-06-27 18:34:42 +08:00
regexp.c 从上游同步代码 2023-06-27 18:34:42 +08:00
remember.c 从上游同步代码 2023-06-27 18:34:42 +08:00
rot13.c 从上游同步代码 2023-06-27 18:34:42 +08:00
scrub.c 从上游同步代码 2023-06-27 18:34:42 +08:00
series.c 从上游同步代码 2023-06-27 18:34:42 +08:00
sha1.c 从上游同步代码 2023-06-27 18:34:42 +08:00
shathree.c 从上游同步代码 2023-06-27 18:34:42 +08:00
showauth.c 从上游同步代码 2023-06-27 18:34:42 +08:00
spellfix.c 从上游同步代码 2023-06-27 18:34:42 +08:00
sqlar.c 从上游同步代码 2023-06-27 18:34:42 +08:00
stmt.c 从上游同步代码 2023-06-27 18:34:42 +08:00
templatevtab.c 从上游同步代码 2023-06-27 18:34:42 +08:00
totype.c 从上游同步代码 2023-06-27 18:34:42 +08:00
uint.c 从上游同步代码 2023-06-27 18:34:42 +08:00
unionvtab.c 从上游同步代码 2023-06-27 18:34:42 +08:00
urifuncs.c 从上游同步代码 2023-06-27 18:34:42 +08:00
uuid.c 从上游同步代码 2023-06-27 18:34:42 +08:00
vfslog.c 从上游同步代码 2023-06-27 18:34:42 +08:00
vfsstat.c 从上游同步代码 2023-06-27 18:34:42 +08:00
vtablog.c 从上游同步代码 2023-06-27 18:34:42 +08:00
vtshim.c 从上游同步代码 2023-06-27 18:34:42 +08:00
wholenumber.c 从上游同步代码 2023-06-27 18:34:42 +08:00
zipfile.c 从上游同步代码 2023-06-27 18:34:42 +08:00
zorder.c 从上游同步代码 2023-06-27 18:34:42 +08:00

README.md

Miscellaneous Extensions

This folder contains a collection of smaller loadable extensions. See https://www.sqlite.org/loadext.html for instructions on how to compile and use loadable extensions. Each extension in this folder is implemented in a single file of C code.

Each source file contains a description in its header comment. See the header comments for details about each extension. Additional notes are as follows:

  • carray.c — This module implements the carray table-valued function. It is a good example of how to go about implementing a custom table-valued function.

  • csv.c — A virtual table for reading Comma-Separated-Value (CSV) files.

  • dbdump.c — This is not actually a loadable extension, but rather a library that implements an approximate equivalent to the ".dump" command of the command-line shell.

  • json1.c — Various SQL functions and table-valued functions for processing JSON. This extension is already built into the SQLite amalgamation. See https://sqlite.org/json1.html for additional information.

  • memvfs.c — This file implements a custom VFS that stores an entire database file in a single block of RAM. It serves as a good example of how to implement a simple custom VFS.

  • rot13.c — This file implements the very simple rot13() substitution function. This file makes a good template for implementing new custom SQL functions for SQLite.

  • series.c — This is an implementation of the "generate_series" virtual table. It can make a good template for new custom virtual table implementations.

  • shathree.c — An implementation of the sha3() and sha3_query() SQL functions. The file is named "shathree.c" instead of "sha3.c" because the default entry point names in SQLite are based on the source filename with digits removed, so if we used the name "sha3.c" then the entry point would conflict with the prior "sha1.c" extension.

  • unionvtab.c — Implementation of the unionvtab and swarmvtab virtual tables. These virtual tables allow a single large table to be spread out across multiple database files. In the case of swarmvtab, the individual database files can be attached on demand.

  • zipfile.c — A virtual table that can read and write a ZIP archive.