Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carllosnc/ex-mdb
👾 Just writing some code.
https://github.com/carllosnc/ex-mdb
Last synced: 11 days ago
JSON representation
👾 Just writing some code.
- Host: GitHub
- URL: https://github.com/carllosnc/ex-mdb
- Owner: carllosnc
- Created: 2021-01-05T13:45:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T20:05:20.000Z (over 3 years ago)
- Last Synced: 2024-06-11T04:43:41.511Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Ex-MDB
Just writing some code.
- Record data in ```.json``` format
- Features: write, read, update, delete and query### Interface
```typescript
interface database {
public getInfo(): Object //info about database
public add(item: Object): Boolean //add new item in database
public getAll(): { data: Array } //getall data
public query(condition: function): Array //search in database
public update(id: String, item: Object): Boolean //update an item
public delete(id: String): Boolean //delete an item
}
```### Source
- [PHP](https://github.com/C4co/ex-mdb/tree/master/php)
- [Typescript](https://github.com/C4co/ex-mdb/tree/master/typescript)---
C4co - 2020