[][src]Module quaint::visitor

Visitors for reading an abstract SQL syntax tree, generating the query and gathering parameters in the right order.

The visitor module should not know how to construct an AST, just how to read one. Everything related to the tree generation is in the ast module.

For prelude, all important imports are in quaint::visitor::*;

Structs

Mysql

A visitor to generate queries for the MySQL database.

Postgres

A visitor to generate queries for the PostgreSQL database.

Sqlite

A visitor to generate queries for the SQLite database.

Traits

Visitor

A function travelling through the query AST, building the final query string and gathering parameters sent to the database together with the query.