{"repo":"FrancoLiberali/cql","free":true,"listed":false,"github":"https://github.com/FrancoLiberali/cql","clone":"git clone https://github.com/FrancoLiberali/cql.git","description":"CQL: Compiled Query Language","language":"Go","stars":18,"topics":["database","orm","sql","go","golang","gorm","web"],"license":"MPL-2.0","category":"databases-storage","readme_excerpt":"CQL: Compiled Query Language What is cql? CQL is a SQL query language that allows easy and safe persistence and querying of objects, with the following characteristics: - Is compile-time safe: queries are validated at compile time to avoid errors such as comparing attributes that are of different types, trying to use attributes or navigate relationships that do not exist, using information from tables that are not included in the query, etc.; ensuring that a runtime error will not be raised. - Is easy to use: the use of its query system does not require knowledge of databases, SQL languages or complex concepts. Writing queries only requires programming in Go and the result is easy to read. - Is designed for real applications: the query system is designed to work well in real-world cases where queries are complex, require navigating multiple relationships, performing multiple comparisons, etc. - Is designed so that developers can focus on the business model: its queries allow easy retrieval of model relationships to apply business logic to the model and it provides mechanisms to avoid errors in the business logic due to mistakes in loading information from the database. - It is designed for high performance: the query system avoids as much as possible the use of reflection and aims that all the necessary model data can be retrieved in a single query to the database. Language Query --- --- SQL SELECT cities. FROM cities INNER JOIN countries ON &emsp;&emsp; countries.id = cities","default_branch":null,"files":null,"tree":[],"storefront":"/r/FrancoLiberali","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FrancoLiberali/cql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}