PHP Classes

SQL Generator: Generate common SQL queries from parameter lists

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,533 All time: 2,557 This week: 455Up
Version License Categories
sql_gen 1.0.0GNU General Publi...Databases, Text processing
Description 

Author

This class can be used to automatically generate common SQL queries from parameter lists.

It can generate SQL queries of the types: INSERT, UPDATE, REPLACE and DELETE. The class takes the parameters that define the query data from associative arrays.

This class may also return SQL date and time values from integer timestamps, equal conditions or an IN syntax from a list of values, quote text field values.

The class may also split a text string with multiple query lines taken from a string or a file.

Picture of Bao Nguyen Quoc
Name: Bao Nguyen Quoc is available for providing paid consulting. Contact Bao Nguyen Quoc .
Classes: 10 packages by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 341 in Viet Nam Viet Nam
Week rank: 214 Down1 in Viet Nam Viet Nam Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file class.sql.php Class Class file
Accessible without login Plain text file test.php Example class example
Accessible without login Plain text file test.sql Data Sample sql

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,533
This week:0
All time:2,557
This week:455Up