{"repo":"znone/qtl","free":true,"listed":false,"github":"https://github.com/znone/qtl","clone":"git clone https://github.com/znone/qtl.git","description":"A friendly and lightweight C++ database library for MySQL, PostgreSQL, SQLite and ODBC.","language":"C++","stars":218,"topics":["odbc","mysql","sqlite","database","postgresql","sql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"QTL QTL is a C ++ library for accessing SQL databases and currently supports MySQL, SQLite, PostgreSQL and ODBC. QTL is a lightweight library that consists of only header files and does not require separate compilation and installation. QTL is a thin encapsulation of the database's native client interface. It can provide a friendly way of using and has performance close to using the native interface. Using QTL requires a compiler that supports C++11. The project db2qtl can generate QTL code. Usage Open database Execute SQL 1. Insert 2. Update or 3. Update multiple records or 4. Query data and process data in callback function The program will traverse the data set until the callback function returns false. If the callback function has no return value, it is equivalent to returning true. When the field type cannot be inferred based on the parameters of the callback function, please use query explicit instead of query and manually specify the data type for query. 5. Bind data to structures 6. Use member functions as query callback functions When the record class has a member function without parameters, it can be used directly as a query callback function 7. Accessing data using iterator 8. Indicator You can use the indicator to get more information about the query results. The indicator contains the following members: - data Store field data - is null Whether the field is empty - length The actual length of the data - is truncated Whether the data is truncated 9. std::optional","default_branch":null,"files":null,"tree":[],"storefront":"/r/znone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/znone/qtl/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."}