2023-08-25 00:55:43 +02:00
|
|
|
+ mkdir people
|
|
|
|
+ touch ./people/Sandeep ./people/Sofia ./people/Wulfrum
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee set -s name=Sandeep -s id=2 -s state=CA ./people/Sandeep
|
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee set -s name=Sofia -s id=1 -s state=WA ./people/Sofia
|
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee set -s name=Wulfrum -s id=0 -s state=CA ./people/Wulfrum
|
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee init -k name ./people
|
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee idx -v -k id ./people ./people:id
|
2023-08-25 00:56:28 +02:00
|
|
|
./people/Sandeep -> ./people:id/2
|
|
|
|
./people/Sofia -> ./people:id/1
|
|
|
|
./people/Wulfrum -> ./people:id/0
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee idx -v -k state -k id ./people
|
2023-08-25 00:56:28 +02:00
|
|
|
./people/Sandeep -> ./people/:state:id/CA/2
|
|
|
|
./people/Sofia -> ./people/:state:id/WA/1
|
|
|
|
./people/Wulfrum -> ./people/:state:id/CA/0
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee ins -v ./people
|
2023-08-25 00:55:43 +02:00
|
|
|
Initialized ./people/Janella
|
2023-08-25 00:56:28 +02:00
|
|
|
Linked ./people:id/3 -> ./people/Janella
|
2023-08-25 01:38:33 +02:00
|
|
|
Linked ./people/:state:id/FL/3 -> ./people/Janella
|
2023-08-25 00:56:28 +02:00
|
|
|
Initialized ./people/Lilly
|
|
|
|
Linked ./people:id/4 -> ./people/Lilly
|
2023-08-25 01:38:33 +02:00
|
|
|
Linked ./people/:state:id/NM/4 -> ./people/Lilly
|
2023-08-25 00:56:28 +02:00
|
|
|
Initialized ./people/Darrel
|
|
|
|
Linked ./people:id/5 -> ./people/Darrel
|
2023-08-25 01:38:33 +02:00
|
|
|
Linked ./people/:state:id/MI/5 -> ./people/Darrel
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee get -a ./people
|
2023-09-27 07:14:35 +02:00
|
|
|
user.ghee.tableinfo {"key":"name","indices_abs":{"id":"/home/josh/Projects/Ghee/example/people:id","name":"/home/josh/Projects/Ghee/example/people","state,id":"/home/josh/Projects/Ghee/example/people/:state:id"}}
|
2023-09-07 17:45:05 +02:00
|
|
|
./people/Darrel user.id 5
|
|
|
|
./people/Darrel user.name Darrel
|
|
|
|
./people/Darrel user.state MI
|
|
|
|
./people/Janella user.id 3
|
|
|
|
./people/Janella user.name Janella
|
|
|
|
./people/Janella user.state FL
|
|
|
|
./people/Lilly user.id 4
|
|
|
|
./people/Lilly user.name Lilly
|
|
|
|
./people/Lilly user.state NM
|
|
|
|
./people/Sandeep user.id 2
|
|
|
|
./people/Sandeep user.name Sandeep
|
|
|
|
./people/Sandeep user.state CA
|
|
|
|
./people/Sofia user.id 1
|
|
|
|
./people/Sofia user.name Sofia
|
|
|
|
./people/Sofia user.state WA
|
|
|
|
./people/Wulfrum user.id 0
|
|
|
|
./people/Wulfrum user.name Wulfrum
|
|
|
|
./people/Wulfrum user.state CA
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee get -a -w state=CA -f name ./people
|
2023-08-31 02:11:53 +02:00
|
|
|
./people/Wulfrum user.name Wulfrum
|
|
|
|
./people/Sandeep user.name Sandeep
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee del -v ./people -w name=Sofia
|
2023-08-25 01:01:06 +02:00
|
|
|
Removed ./people:id/1
|
2023-08-25 01:38:33 +02:00
|
|
|
Removed ./people/Sofia
|
|
|
|
Removed ./people/:state:id/WA/1
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee del -v ./people:id 3
|
2023-08-25 00:56:28 +02:00
|
|
|
Removed ./people:id/3
|
|
|
|
Removed ./people/Janella
|
2023-09-21 00:02:52 +02:00
|
|
|
Removed ./people/:state:id/FL/3
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee del -v ./people/:state:id CA 0
|
2023-09-21 00:02:52 +02:00
|
|
|
Removed ./people:id/0
|
2023-08-25 00:56:28 +02:00
|
|
|
Removed ./people/Wulfrum
|
|
|
|
Removed ./people/:state:id/CA/0
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee get -a -w state=CA -f name ./people/:state:id
|
2023-08-25 00:55:43 +02:00
|
|
|
./people/:state:id/CA/2 user.name Sandeep
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee create -v ./direct -k blah
|
2023-09-07 17:45:05 +02:00
|
|
|
Initialized table ./direct with key: user.blah
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee create -v ./people2 -k id
|
2023-09-07 17:45:05 +02:00
|
|
|
Initialized table ./people2 with key: user.id
|
|
|
|
Initialized ./people2/3
|
|
|
|
Initialized ./people2/4
|
|
|
|
Initialized ./people2/5
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee status ./people2
|
2023-09-27 07:22:50 +02:00
|
|
|
+./people2
|
|
|
|
+./people2/3
|
|
|
|
+./people2/4
|
|
|
|
+./people2/5
|
|
|
|
+ mkdir ./empty
|
2023-09-27 23:22:36 +02:00
|
|
|
+ /home/josh/Projects/Ghee/target/debug/ghee status ./empty
|
2023-09-27 07:22:50 +02:00
|
|
|
No table found
|
2023-08-25 00:55:43 +02:00
|
|
|
+ cd ..
|