Skip to content

Commit 5e5b598

Browse files
authored
Merge pull request #1800 from wheels-dev/docs-update
Update docs for sqlite
2 parents 0de7a8f + b63e1dd commit 5e5b598

File tree

6 files changed

+34
-9
lines changed

6 files changed

+34
-9
lines changed

.ai/wheels/configuration/application.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,27 @@ this.datasources['myapp'] = {
112112
};
113113
```
114114

115+
### Oracle Database
116+
117+
```cfm
118+
this.datasources['myapp'] = {
119+
class: 'oracle.jdbc.OracleDriver',
120+
connectionString: 'jdbc:oracle:thin:@//localhost:1521/wheelstestdb',
121+
username: 'dbuser',
122+
password: 'dbpass'
123+
};
124+
```
125+
126+
### SQLiet Database
127+
```cfm
128+
this.datasources['myapp'] = {
129+
class: 'org.sqlite.JDBC',
130+
connectionString: 'jdbc:sqlite:/app/wheelstestdb.db',
131+
username: '',
132+
password: ''
133+
};
134+
```
135+
115136
## Multiple Datasources
116137

117138
```cfm

.claude/skills/wheels-documentation-generator/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ Brief description of the application.
5454

5555
## Requirements
5656

57-
- CFWheels 3.0+
57+
- Wheels 3.0+
5858
- Lucee 5.x / Adobe ColdFusion 2018+
59-
- Database (MySQL, PostgreSQL, SQL Server)
59+
- Database (MySQL, PostgreSQL, SQL Server, Oracle, SQLite)
6060

6161
## Installation
6262

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ We welcome contributions via **Issues** and **Pull Requests (PRs)**. Before you
4444
**System Requirements:**
4545

4646
* Adobe ColdFusion 2018/2021/2023/2025 OR Lucee 5/6/7
47-
* Supported database: H2, Microsoft SQL Server, PostgreSQL, MySQL, Oracle
47+
* Supported database: H2, Microsoft SQL Server, PostgreSQL, MySQL, Oracle, SQLite
4848
* Git for version control
4949

5050
**Initial Setup:**
@@ -132,7 +132,7 @@ If you're making a **breaking change** or working on **core functionality**, it'
132132

133133
**Test Database Requirements:**
134134

135-
* Supported engines: H2, Microsoft SQL Server, PostgreSQL, MySQL, Oracle
135+
* Supported engines: H2, Microsoft SQL Server, PostgreSQL, MySQL, Oracle, SQLite
136136

137137
**Writing Tests:**
138138

@@ -183,6 +183,7 @@ Wheels 3.0 includes these core dependencies (automatically managed):
183183

184184
**Database Support:**
185185

186+
* SQLite (new in 3.0)
186187
* Oracle (new in 3.0)
187188
* Microsoft SQL Server
188189
* PostgreSQL

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ In this [Beginner Tutorial: Hello World][2], we'll be writing a simple applicati
3333

3434
**Supported Databases:**
3535

36+
- SQLite (new in 3.0!)
3637
- Oracle (new in 3.0!)
3738
- Microsoft SQL Server
3839
- PostgreSQL
@@ -116,7 +117,7 @@ Please check out our [Contributing Guide][3] for detailed guidelines on how to g
116117
### Test Database Setup
117118

118119
1. Create a database on a supported database server named `wheelstestdb`
119-
- Supported servers: Oracle, Microsoft SQL Server, PostgreSQL, MySQL, H2
120+
- Supported servers: SQLite, Oracle, Microsoft SQL Server, PostgreSQL, MySQL, H2
120121
2. Create a datasource in your CFML engine's administrator named `wheelstestdb` pointing to the `wheelstestdb` database
121122
3. **Important:** Make sure to give it CLOB and BLOB support
122123
4. Open your browser to the Wheels Welcome Page
@@ -125,7 +126,7 @@ Please check out our [Contributing Guide][3] for detailed guidelines on how to g
125126
### Docker Testing
126127

127128
1. Create a database on a supported database server named `wheelstestdb`. At this time the supported
128-
database servers are H2, Microsoft SQL Server, PostgreSQL, MySQL, and Oracle.
129+
database servers are H2, Microsoft SQL Server, PostgreSQL, MySQL, Oracle and SQLite.
129130
2. Create a datasource in your CFML engine's administrator named `wheelstestdb` pointing to the
130131
`wheelstestdb` database and make sure to give it CLOB and BLOB support.
131132
3. Open your browser to the Wheels Welcome Page.

templates/base/src/plugins/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ component {
156156
- `global` - Global functions
157157
- `application` - Application scope
158158
- `none` - No injection
159-
- `microsoftsqlserver`, `mysql`, `oracle`, `postgresql` - Database adapters
159+
- `microsoftsqlserver`, `mysql`, `oracle`, `postgresql`, `SQLite` - Database adapters
160160

161161
#### Environment Targeting
162162
Restrict plugin loading to specific environments:

tools/docker/github/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Your code is tested against every combination of:
4949
- SQL Server
5050
- H2 (embedded)
5151
- Oracle
52+
- SQLite
5253

5354
**Total**: ~35 different environment combinations
5455

@@ -59,7 +60,7 @@ strategy:
5960
fail-fast: false
6061
matrix:
6162
cfengine: ["lucee5", "lucee6", "lucee7", "adobe2018", "adobe2021", "adobe2023", "boxlang"]
62-
dbengine: ["mysql", "postgres", "sqlserver", "h2", "oracle"]
63+
dbengine: ["mysql", "postgres", "sqlserver", "h2", "oracle", "SQLite"]
6364
```
6465

6566
**Exclusions**:
@@ -89,6 +90,7 @@ strategy:
8990
| SQL Server | `wheels-sqlserver-1` | 1434→1433 | `wheels-sqlserver:v1.0.2` |
9091
| Oracle | `wheels-oracle-1` | 1522→1521 | `gvenzl/oracle-free:23-slim` |
9192
| H2 | (embedded) | n/a | Built into CFML engines |
93+
| SQLite | (embedded) | n/a | Built into CFML engines |
9294

9395
## Test Execution Process
9496

@@ -140,7 +142,7 @@ http://localhost:{PORT}/wheels/core/tests?db={DATABASE}&format=json&only=failure
140142
```
141143

142144
**Parameters**:
143-
- `db`: Database type (mysql, postgres, sqlserver, h2, oracle)
145+
- `db`: Database type (mysql, postgres, sqlserver, h2, oracle, sqlite)
144146
- `format`: Response format (json)
145147
- `only`: Show only failures and errors
146148

0 commit comments

Comments
 (0)