Skip to content

omeralpay/fastdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

fastdb

PDO shorthand query method

Usage

// Select

$select = run('SELECT * FROM Table');

// Update & Insert

$update = run('UPDATE Table SET value = ? where id = ?',[$value,$id]);

// Get data

$data = run('SELECT * FROM Table')->fetch(PDO::FETCH_OBJ);

echo $data->id;

About

PDO shorthand query method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages