Personal SUBD with own DB based on Rust. The main goal of this project is to create personal Database with the strong security & fast responsing to requests with big data.
Now we have this query commnads:
- create
- use
- insert
- select
- delete
To start use this DB u need to build the program using command:
admin@aidadb:~$ cargo build
Finished dev [unoptimized + debuginfo] target(s) in 0.84s
Process finished with exit code 0
After that u need to run this app. For windows - aidb.exe, for Linux and MacOS - aidb.o
Create database request:
> create <database_name>
Database created successfully
Select database request:
> use <database_name>
Switched to database '<database_name>'
Current database path: (Windows)'C:\Users\<username>\.aidadb\databases\<database_name>.aidb' / (Linux or MacOs) '/home/<username>/.aidadb/databases/<database_name>.aidb'
NOTE: To use the next requests u need to select database in which u can add or from which u can get information!
Insert in table request:
> insert <table_name> <key>=<value>
Inserted row into table <table_name>.
NOTE: U can create new tables using the same command; Row size of data is infinity.
Select info from table request:
> select <table_name>
<info from table>.
Delete row from table request:
> delete <table_name> where <condition>
<info from table>.
Create database request:
> create test
Database created successfully
Select database request:
> use test
Switched to database 'test'
Current database path: (Windows)'C:\Users\<username>\.aidadb\databases\test.aidb' / (Linux or MacOs) '/home/<username>/.aidadb/databases/test.aidb'
NOTE: To use the next requests u need to select database in which u can add or from which u can get information!
Insert in table request:
> insert test-users id=1 name='User' age=10
Inserted row into table test-users.
NOTE: U can create new tables using the same command; Row size of data is infinity.
Select info from table request:
> select test-users
id=1 name='User' age=10.
Delete row from table request:
> delete test-users where id=1
Row deleted!