Download the PHP package kroyxlab/datbazo without Composer
On this page you can find all versions of the php package kroyxlab/datbazo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kroyxlab/datbazo
More information about kroyxlab/datbazo
Files in kroyxlab/datbazo
Package datbazo
Short Description DatBazo(Datuma Bazo, Base de datos en Esperanto) es un SQL-query constructor el cual trabaja con PDO.
License MIT
Homepage https://github.com/kroyxlab/datbazo
Informations about the package datbazo
DatBazo
DatBazo(Datuma Bazo, Database in Esperanto) is a SQL-query constructor using PDO. is a small library with which you can quickly create queries to the database using the "Prepare" and "Execute" methods of PDO to avoid sql injections.
Table of contents
- Dependencies
- Install
- Getting started
- Methods
- Author
- License
Dependencies
This package requires PHP 7 or higher.
Install
via composer
Copy repository
Copy the direct repository to your project and require the class.
Getting started
Modify the KLPdo.ini file located in the folder vendor/kroyxlab/datbazo/src/DBconfig.ini
and modify the values to configure the connection to the database.
If everything is configured correctly, you can start using the library.
Methods
The methods of the DatBazo class help to create an SQL statement which will be executed through the prepare
and execute
methods of Pdo to avoid SQL injections.
List of methods:
- Select()
- join()
- Insert()
- Where()
- Update()
- Delete()
- Limit()
- Offset()
- Group()
- Order()
- Execute()
- Fetch()
- Render()
Author
License
This project is licensed under the MIT License - see the MIT.md file for details