Skip to content

Commit

Permalink
docs: update roadmap with v1.0.0 ideas (#70)
Browse files Browse the repository at this point in the history
* docs: update ROADMAP.md

* chore: updating roadmap
  • Loading branch information
JasonShin authored Sep 6, 2023
1 parent aee5300 commit 887f3ae
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

##### Phase 1
##### Beta Release (< v1.0.0)

- [x] swc to parse JavaScript/TypeScript
- [x] pick all sql`` tagged template literals via parser logic
Expand All @@ -8,21 +8,25 @@
- [x] CLI support for sqlx-ts binary - supporting parameters for folder source, database credentials and etc
- [x] Support for MySQL and PostgresSQL
- [x] Publish an NPM module with `sql` tagged template literal. It shouldn't do anything special but return the raw SQL back again
- [x] Support for multiple database connections to difference DBs at once
- [x] Support for lazy loaded sqlx-ts
```javascript
function lazyLoaded() {
const { sql: lazySqlx } = require('sqlx-ts')
}
```
- [ ] raises warning if there are JOIN queries but there are potential naming conflict of generated fields

##### Phase 2
##### Release > v1.0.0

- [ ] SQLite support
- [ ] MSSQL support
- [ ] Support for multiple database connections to difference DBs at once
- [ ] JOIN table field name generation error
- If you provide a join query that potentially has conflict in generated name via sqlx-ts, it should raise errors to indicate that the type generation has failed and provide an assistance to the users on adding aliases to the field names that are conflicting
- [ ] Run sqlx-tx-core multi-threaded and check multiple files at once
- [ ] at this point we should try bench-marking performance difference
- [ ] benchmark against 100/1000/2000 concurrent queries with different variations
- [ ] check number of connections to the database
- [ ] SQLite support
- [ ] MSSQL support

##### Phase@next

- [ ] Support for lazy loaded sqlx-ts
```javascript
function lazyLoaded() {
const { sql: lazySqlx } = require('sqlx-ts')
}
```
In the next phase, we will add a support to run SQLX against lazy loaded modules
##### Features backlog

0 comments on commit 887f3ae

Please sign in to comment.