Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

oxyberg/teflon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Teflon

Simple JSON database

Install

Just create an object of Teflon class with path to your store

$teflon = new Teflon ('path/to/store');

Examples

$teflon->create('tablename');
$teflon->drop('tablename');
$teflon->merge(['table1', 'table2'], 'name');
$teflon->getConfig('tablename');
$teflon->truncate('tablename');

$teflon->delete('itemname', 'tablename');
$teflon->exists('name', 'table');
$teflon->exists('name', 'item');
$teflon->get('*', 'itemname', 'tablename');
$teflon->put('data', 'itemname', 'tablename');

$teflon->search('needle', 'tablename');
$teflon->set('data', 'itemname', 'tablename');

License

Teflon is licensed under MIT License.

About

Simple JSON-file database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors