UNPKG

berrydb

Version:

This is a database tool.

42 lines (30 loc) 1.88 kB
The Help DOC ------------ Brief introduction BerryDB is a database management tool. BerryDB is lightweight and simple. Use this database,you will feel that using this database will make your development more convenient and faster. ----------------------------------- Download In the command line tool,use command `install xx.xx` can download v-xx.xx of berryDB. Or to "http://yhzheng.com/berryDB/files/v-xx.xx.zip" to download. ----------------------------------- Usage method --------- First: Start this tool. In command line,if you have installed this product in a global way,input `berry`,you can start using this product. Of course if it's not global,go to this directory,input `cd tool && node berry.js`,then,start this tool. --------- Second: Create some one If you want to create a new database,you can go to this tool,and input `create db xx`,then we will create a new database in your location directory. But you can't just create a database,and you need use them to storage of data! So you can create a table.Input `create tab xx xx`,you can create a xx table in the xx database. After create,As before,it needs to be initialized too.You need input `init xx xx`. Compared with the general database,we have a few special functions. --------- Third: Some few special functions We have three database file formats: .tab,.arr and .nt .tab is the table function mentioned in the last part. Now we tell you,what is two other file formats. ---- Part 1: .arr .arr is a array type.It stores some of the same types and can be stored as a set of data. Input `create arr xx xx` can create a .arr file in xx database. ---- Part 2: .nt .nt is a note type.It stores some explanation and introduction to the database. Use command `create nt xx` can create a note for xx database. ---------------------------------------------------------------------- [THE END]