Skip to content

AkaneMarsyl/TFDM4R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

TFDM4R

Tiny Flatfile Database Manager For Retards

A database manager for small projects that don't need to keep anything secret.

Usage:

 * Create an empty file next to this script, this is your database flatfile.
 * $ff = new Flatfile('database');
 * $ff->create('table');
 * $ff->query('INSERT INTO table', ['foo'=>'bar']); (A variable called 'id' will be generated and will automatically increment).
 * $query = $ff->query('SELECT foo|ALL FROM table WHERE id = 1');
 * $ff->query('UPDATE foo FROM table WHERE id = 1 VALUE new_bar');
 * $ff->query('DELETE FROM table WHERE id = 1');
 * $ff->save(); When you're done, write down all changes in the flatfile.
 

About

Tiny Flatfile Database Manager For Retards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages