A lightweight header-only C++11 library for quick and easy SQL querying with QtSql classes.

EasyQtSql

EasyQtSql is a lightweight header-only C++11 library for quick and easy SQL querying with QtSql classes.

Features:

  • Header only C++11 library
  • Easy to use - just include header files
  • Small size, simple code
  • SQL execution with less C++ code compared to QtSql library
  • Easier DB error handling
  • Easier parameters binding & result reading
  • RAII transactions
  • Not an ORM library - you can write, optimize & execute SQL queries as you want
  • MIT License

EasyQtSql doxygen Documentation

Getting Started

Prerequisites

You need to install:

  • C++11 compiler
  • Qt5 library
  • Qt Creator 4.7.2 - recommended (for automated test running)
  • QtSql module with the required SQL database drivers compiled / installed

The library was compiled and tested with:

  • MS Visual C++ Compiler 14.0 / Qt5.6 and Qt5.7
  • gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04) / Qt5.9

Quick Start Guide

Please read EasyQtSql doxygen Documentation

Running the tests

Tests are implemented with QtTest module. To run the tests you can use Qt Creator.

Built With

  • Qt - Qt | Cross-platform software development for embedded & desktop
  • QtSql - Qt SQL is an essential module which provides support for SQL databases

Authors

License

This project is licensed under the MIT License.

Owner
Similar Resources

React-native-quick-sqlite - ⚡️ The fastest SQLite implementation for react-native.

React-native-quick-sqlite - ⚡️ The fastest SQLite implementation for react-native.

React Native Quick SQLite The **fastest** SQLite implementation for react-native. Copy typeORM patch-package from example dir npm i react-nati

Dec 30, 2022

redis-cpp is a header-only library in C++17 for Redis (and C++11 backport)

redis-cpp - lightweight C++ client library for Redis redis-cpp is a C++17 library for executing Redis commands with support for pipelines and the publ

Dec 11, 2022

❤️ SQLite ORM light header only library for modern C++

❤️ SQLite ORM light header only library for modern C++

SQLite ORM SQLite ORM light header only library for modern C++ Status Branch Travis Appveyor master dev Advantages No raw string queries Intuitive syn

Dec 30, 2022

A friendly and lightweight C++ database library for MySQL, PostgreSQL, SQLite and ODBC.

QTL QTL is a C ++ library for accessing SQL databases and currently supports MySQL, SQLite, PostgreSQL and ODBC. QTL is a lightweight library that con

Dec 12, 2022

Tntdb is a c++-class-library for easy access to databases

Tntdb is a c++-class-library for easy access to databases

Aug 1, 2022

Simple-MySQL-API is a free and easy API to manipulate MySQL with C99 and GCC compiler under GNU/Linux OS.

Simple-MySQL-API is a free and easy API to manipulate MySQL with C99 and GCC compiler under GNU/Linux OS.

Aug 21, 2022

GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.

GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.

Overview GridDB is Database for IoT with both NoSQL interface and SQL Interface. Please refer to GridDB Features Reference for functionality. This rep

Jan 8, 2023

SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

SQLiteC++ SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper. About SQLiteC++: SQLiteC++ offers an encapsulation around the native C

Dec 31, 2022

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform

Jan 8, 2023
TrailDB is an efficient tool for storing and querying series of events
TrailDB is an efficient tool for storing and querying series of events

TrailDB is an efficient tool for storing and querying series of events. This repository contains the core C library and the tdb command line tool.

Jan 3, 2023
dqlite is a C library that implements an embeddable and replicated SQL database engine with high-availability and automatic failover

dqlite dqlite is a C library that implements an embeddable and replicated SQL database engine with high-availability and automatic failover. The acron

Jan 9, 2023
A type safe SQL template library for C++

sqlpp11 A type safe embedded domain specific language for SQL queries and results in C++ Documentation is found in the wiki So what is this about? SQL

Dec 30, 2022
OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.

What is OceanBase database OceanBase Database is a native distributed relational database. It is developed entirely by Alibaba and Ant Group. OceanBas

Jan 4, 2023
A PostgreSQL extension providing an async networking interface accessible via SQL using a background worker and curl.

pg_net is a PostgreSQL extension exposing a SQL interface for async networking with a focus on scalability and UX.

Dec 14, 2022
DuckDB is an in-process SQL OLAP Database Management System
DuckDB is an in-process SQL OLAP Database Management System

DuckDB is an in-process SQL OLAP Database Management System

Jan 3, 2023
YugabyteDB is a high-performance, cloud-native distributed SQL database that aims to support all PostgreSQL features
YugabyteDB is a high-performance, cloud-native distributed SQL database that aims to support all PostgreSQL features

YugabyteDB is a high-performance, cloud-native distributed SQL database that aims to support all PostgreSQL features. It is best to fit for cloud-native OLTP (i.e. real-time, business-critical) applications that need absolute data correctness and require at least one of the following: scalability, high tolerance to failures, or globally-distributed deployments.

Jan 7, 2023
TimescaleDB is an open-source database designed to make SQL scalable for time-series data.

An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.

Jan 2, 2023
A bare-bone SQL implementation

MiniSQL A bare-bone SQL implementation. Project Structure include folder contains header files of all modules. These header files are meant to be shar

Apr 23, 2022
PGSpider: High-Performance SQL Cluster Engine for distributed big data.

PGSpider: High-Performance SQL Cluster Engine for distributed big data.

Sep 8, 2022