sqlite-ext

Package: WA2L/WinTools 1.2.09
Section: Library Commands (3)
Updated: 16 May 2026
Index Return to Main Contents

 

NAME

sqlite-ext - SQLite loadable extensions

 

SYNOPSIS

WA2LWinTools/var/lib/sqlite/extension.dll

WA2LWinTools/lib/sqlite/extension.dll

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

SQLite has the ability to load extensions (including new application-defined SQL functions, collating sequences, virtual tables, and VFSes) at run-time.

This feature allows the code for extensions to be developed and tested separately from the application and then loaded on an as-needed basis.

An SQLite extension is a shared library or DLL. To load it, you need to supply SQLite with the name of the file containing the shared library or DLL and an entry point to initialize the extension.

For more information about extensions, see: https://sqlite.org/loadext.html

 

BUNDLED EXTENSIONS

crypto:
hashing, encoding and decoding data
define:
user-defined functions and dynamic sql
fileio:
read and write files
fuzzy:
fuzzy string matching and phonetics
ipaddr:
IP address manipulation
math:
math functions
regexp:
regular expressions
stats:
math statistics
text:
string functions and Unicode
time:
high-precision date/time
uuid:
Universally Unique IDentifiers
vsv:
CSV files as virtual tables

See: https://github.com/nalgeon/sqlean#main-set for a documentation of each extension.

 

OPTIONS

.load extension
load an extension in sqlite3(3).

 

ENVIRONMENT

%PATH%
the %PATH% environment variable is extended with var/lib/sqlite/ and lib/sqlite/ in wtshell to enable sqlite3(3) to use '.load extension' without the need to supply an absolute or relative path to the file.

To check/print the %PATH% in wtshell, the path -l command can be used.

 

EXIT STATUS

-

 

FILES

lib/sqlite/
extensions bundled with WA2L/WinTools.

var/lib/sqlite/
user supplied extensions.

 

EXAMPLES

1) load and use an extension
In this example the time extension is loaded and the function time_fmt_iso is used:

  [ H:\bin\WA2LWinTools\var\tmp ]
  [ fred@acme007 ][*wtshell*/cmd]: sqlite
  
  SQLite version 3.51.1 2025-11-28 17:28:25
  Enter ".help" for usage hints.
  Connected to a transient in-memory database.
  Use ".open FILENAME" to reopen on a persistent database.

  sqlite> .load time

  sqlite> select time_fmt_iso(time_date(2011, 11, 18));
  2011-11-18T00:00:00Z

  sqlite> .quit

 

SEE ALSO

wintoolsintro(1), sqlite3(3), https://sqlite.org/loadext.html, https://github.com/nalgeon/sqlean

 

NOTES

parts of this manual page are extracted from https://sqlite.org/loadext.html written by SQLite.org <https://sqlite.org/> and https://github.com/nalgeon/sqlean written by Anton Zhiyanov <m@antonz.org>.

 

BUGS

-

 

AUTHOR

the extensions were put together by Anton Zhiyanov <m@antonz.org> (https://github.com/nalgeon/sqlean) and integrated into WA2L/WinTools by Christian Walther. Send suggestions and bug reports regarding the integration to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2026 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
BUNDLED EXTENSIONS
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 19:40:31 GMT, May 18, 2026