Giter VIP home page Giter VIP logo

dbapi's Introduction

DBApi

Database ODBC API

This is written in C++ library that aims to make the connection to the database via ODBC abstracting calls the API pure ODBC, but not limited, since it can return the handlers (Handles) of the objects used by the API pure ODBC.

It is fully object-oriented facilitating the manipulation of data using intuitive methods to perform each action. Has a hierarchical structure which makes each object has its data sets of parameters or fields according to the need. Example: A query can have a set of parameters that contain each parameter and this query can return a set of fields that contain each field, thus facilitating access to information.

As one of the goals of this library is to be used with an extension (Windows DLL), it uses the concept of interfaces to instantiate objects, ie, all classes inherit from a totally abstract class that will only be used to manipulate method calls each particular class.

Considering this condition, no exception is thrown directly, but can be captured simply by a static object that will always hold the last exception that occurred.

However, nothing prevents the objects are compiled incorporated into your application dispensing with an external library for this functionality. In this case, you can use the objects directly.

#Building

The only dependency is the library of class C++ standard STD therefore this library can be portable. It may be because I have not tested on other platforms other than Windows :(.

It can be compiled using Visual Studio or MinGW with gcc for Windows. If anyone wants to collaborate to test the same on a Linux or Unix environment, I am grateful and I am willing to help with anything you need :).

This library allows manipulation and memory allocation for query fields by default, automatic, or can be controlled by the application through memory pointers to the variables that will receive the field values.

dbapi's People

Contributors

jpwerka avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

iqwxiaopeng

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.