You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
momomimachli edited this page Aug 19, 2016
·
4 revisions
Hedsql has three core components: an AST (Abstract Syntax Tree), (smart) constructors, and code generators.
AST
Representation of SQL as Hedsql datatypes. The term SQL has to be understood here as a very generic one. The idea is to be able to accommodate the various databases such as MariaDB, SqLite and PostgreSQL. Therefore, from time to time, features outside of the SQL standard are implemented.
Constructor
The smart constructors are functions and type-classes to create an AST in a flexible way.
Code generator
The code generator converts the data structure to a SQL string. It is composed of a default implementation which aims to cover the common parts between the different database vendors. Then, for each vendor specific implementations are implemented.