Skip to content

Installation

sh
npm install ts-query-model

ts-query-model has no direct runtime dependencies. The following packages are also recommended to be installed in your application:

sql-template-strings to safely format your SQL:

sh
npm install sql-template-strings

mysql2 if you are working with a MySQL database:

sh
npm install mysql2

pg if you are working with a PostgreSQL database:

sh
npm install pg

sqlite3 if you are working with a SQLite database:

sh
npm install sqlite3