A small database engine in php. Perfect for small ARM devices and low usage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gabriel Genois 07e5b80278 init'ish 1 week ago
LICENSE Initial commit 1 week ago
README.md init'ish 1 week ago
api_keys.json.exemple init'ish 1 week ago
index.php init'ish 1 week ago

README.md

small-memory

A small database engine in php. Perfect for small ARM devices and low usage. NOT SECURE.

Usage

Call the script with a GET parameter “query” (by default). The value must be in Base64. There is no “access control”.

Create Database

CREATE DATABASE mydatabase

Create Table

CREATE TABLE mytable IN mydatabase (field1,field2,[...])

Insert

INSERT INTO mytable IN mydatabase ({"key":"value"})

Select

SELECT mytable IN mydatabase (*)

OR

SELECT mytable IN mydatabase ({"key":"value"})

Update

UPDATE mytable IN mydatabase ({"UnidID":"UniqID_Value","key":"new_value"})

Delete

DELETE mytable IN mydatabase ({"UnidID":"UniqID_Value"})