Skip to content

Commit

Permalink
Add create and exists information to README
Browse files Browse the repository at this point in the history
  • Loading branch information
cybrox authored Jul 1, 2018
1 parent 5b6d0c1 commit c06d33a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Here's a list of all functions that are currently implemented.
| `crunchDB->tables()` | List all tables (=files) that are present in this database (=directory). |
| `crunchDB->table('name')` | Get the object of a crunchDB table `cdbTable`. |
| -- | -- |
| `cdbTable->create()` | Create a table and its JSON file with the given name.|
| `cdbTable->exists()` | Check whether or not a table (file) with the given name exists.|
| `cdbTable->truncate()` | Truncate the given table object.|
| `cdbTable->drop()` | Drop the given table object and delete its JSON file.|
| `cdbTable->alter('name')` | Rename the table object's file and table to `name`.|
Expand Down Expand Up @@ -96,4 +98,4 @@ This is the multi-array parameter for updating. You can add multiple key-vaule p
$cdb->table('cookies')->select('*')->fetch();

?>
```
```

0 comments on commit c06d33a

Please sign in to comment.