This approach, for a small number of parameters, is more than adequate.

Named-Binds

Jsi enhances MySql's standard variable binding with named binding.
This is modelled after Sqlite named
binding, and works by extracting
named variables from the query, translating them internally into standard "?” form.

A named-bind begin with one of the characters: :, @, and $.
For example:

### Timestamps
Javascript time functions use the unix epoch to store the number of milliseconds
since Jan 1, 1970 UTC.
MySql stores dates/time in an internal format with one of the following types:
| Value | Description |
|-----------|-----------------------|
| TIMESTAMP | A unix date/timestamp |
| DATETIME | A date and time |
| DATE | A date |
| TIME | a time |
### Caching
In the interest of efficiency, compiled queries are cached on a per connection basis.
The size of the cache is controlled by the maxStmts option.
You can also disable caching for individual querys with nocache.
### Differences From Sqlite
Differences include a greater dependance on types, and requiring a user, password and database.
### Building
The MySql driver does not (by default) come builtin to Jsi.
However, once you [download the source](Start) you can build it in with: