Toql (Transfer Object Query Language)
This guide will explain you how to use Toql to query and modify data from a database.
Toql is free and open source software, distributed under a dual license of MIT and Apache. The code is available on Github. Check out the API for technical details.
Getting started
This book is split into several sections, with this introduction being the first. The others are:
- Concept - The overall concept of Toql.
- Query Language - How queries look like.
- Toql Derive - Let the derive do all the work!
Features
Toql Transfer Object Query Language is a library that turns a query string into SQL to retrieve data records. It is useful for web clients to get database records from a REST interface.
Toql
- can query, insert, update and delete single and multiple database records.
- handles dependencies in queries through SQL joins and merges. Cool!
- is fast, beause the mapper is only created once and than reused.
- has high level functions for speed and low level functions for edge cases.
Background
I developped Toql about 10 years ago for a web project. I have refined it since then and it can be seen in action on my other website www.schoolsheet.com. I started the Toql project to learn Rust.