Hello! How can i use Knex only for query building as a string? Without specifying connection to DB.
i.e.
var knex = require('knex')({
dialect: 'mysql'
});
knex.select('title', 'author', 'year').from('books')
Outputs:
select `title`, `author`, `year` from `books`