Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.5 KB

ROADMAP.md

File metadata and controls

32 lines (26 loc) · 1.5 KB
Beta Release (< v1.0.0)
  • swc to parse JavaScript/TypeScript
  • pick all sql`` tagged template literals via parser logic
  • compilation success if there are no errors detected in SQLs
  • compilation failure if any error is detected in SQLs
  • CLI support for sqlx-ts binary - supporting parameters for folder source, database credentials and etc
  • Support for MySQL and PostgresSQL
  • Publish an NPM module with sql tagged template literal. It shouldn't do anything special but return the raw SQL back again
  • Support for multiple database connections to difference DBs at once
  • Support for lazy loaded sqlx-ts
function lazyLoaded() {
    const { sql: lazySqlx } = require('sqlx-ts')
} 
  • raises warning if there are JOIN queries but there are potential naming conflict of generated fields
Release > v1.0.0
  • 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
Features backlog