{"repo":"doytowin/goooqo","free":true,"listed":false,"github":"https://github.com/doytowin/goooqo","clone":"git clone https://github.com/doytowin/goooqo.git","description":"GoooQo is a database access framework implemented in Go, based on OQM technique.","language":"Go","stars":164,"topics":["oqm","orm","go","goooqo","ddd"],"license":"BSD-3-Clause-Clear","category":"databases-storage","readme_excerpt":"GoooQo --- Introduction GoooQo is a database access framework implemented in Go, based on OQM techniques. It relies entirely on objects to construct various database query statements, eliminating boilerplate code associated with traditional ORM frameworks, and assists developers in achieving automated database access operations. The first three Os in the name GoooQo stands for the three major object concepts in the OQM technique: - Entity Object is used to map the static part in the CRUD statements, e.g. table name and column names; - Query Object is used to map the dynamic part in the CRUD statements, e.g. filter conditions, pagination and sorting clause; - View Object is used to map the static part in the complex query statements, e.g. table names, column names, group-by clause and joins. Check this article for more details. Check this demo to take a quick tour. Product documentation: https://goooqo.docs.doyto.win/ Quick start Init project Use go mod init to init the project and add GoooQo dependency: Init a database connection db and a transaction manager tm : Create a data access interface Suppose we have the following user table in test.db : id name score memo deleted ---- ------- ------- ------- --------- 1 Alley 80 Good false 2 Dave 75 Well false 3 Bob 60 false 4 Tim 92 Great true 5 Emy 100 Great false We define an entity object, a query object and a database access interface for this table: After establishing a database connection and creating the transaction manager ","default_branch":null,"files":null,"tree":[],"storefront":"/r/doytowin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/doytowin/goooqo/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."}