BoxLang 🚀 A New JVM Dynamic Language Learn More...
|:------------------------------------------------------: |
| ⚡︎ B o x L a n g ⚡︎
| Dynamic : Modular : Productive
|:------------------------------------------------------: |
Copyright Since 2023 by Ortus Solutions, Corp
www.boxlang.io | www.ortussolutions.com
Â
This module provides a BoxLang JDBC driver for SQLite.
See BoxLang's Defining Datasources documentation for full examples on where and how to construct a datasource connection pool.
Here's a few examples of some SQLite datasources:
You can specify an in-memory database using this connection string:
jdbc:sqlite: memory:{MyDBName};create=true
where
{MyDBName}
is replaced with your database name of choice:
this.datasources[ "testDB" ] = {
"driver" : "sqlite",
"protocol": "memory",
"database": "testDB"
};
You can also work with an on-disk database:
this.datasources[ "AutoDB" ] = {
"driver" : "sqlite",
"protocol": "directory",
"database": "/home/michael/myApp/resources/AutoDB"
};
BoxLang is a professional open-source project and it is completely funded by the community and Ortus Solutions, Corp. Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visit our patronage page: https://patreon.com/ortussolutions
"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
$
box install bx-sqlite