69 lines
2.6 KiB
Text
69 lines
2.6 KiB
Text
+ mkdir people
|
|
+ touch ./people/Sandeep ./people/Sofia ./people/Wulfrum
|
|
+ cargo run --quiet -- set -s name=Sandeep -s id=2 -s state=CA ./people/Sandeep
|
|
+ cargo run --quiet -- set -s name=Sofia -s id=1 -s state=WA ./people/Sofia
|
|
+ cargo run --quiet -- set -s name=Wulfrum -s id=0 -s state=CA ./people/Wulfrum
|
|
+ cargo run --quiet -- init -k name ./people
|
|
+ cargo run --quiet -- idx -v -k id ./people ./people:id
|
|
./people/Sandeep -> ./people:id/2
|
|
./people/Sofia -> ./people:id/1
|
|
./people/Wulfrum -> ./people:id/0
|
|
+ cargo run --quiet -- idx -v -k state -k id ./people
|
|
./people/Sandeep -> ./people/:state:id/CA/2
|
|
./people/Sofia -> ./people/:state:id/WA/1
|
|
./people/Wulfrum -> ./people/:state:id/CA/0
|
|
+ cargo run --quiet -- ins -v ./people
|
|
Initialized ./people/Janella
|
|
Linked ./people:id/3 -> ./people/Janella
|
|
Linked ./people/:state:id/FL/3 -> ./people/Janella
|
|
Initialized ./people/Lilly
|
|
Linked ./people:id/4 -> ./people/Lilly
|
|
Linked ./people/:state:id/NM/4 -> ./people/Lilly
|
|
Initialized ./people/Darrel
|
|
Linked ./people:id/5 -> ./people/Darrel
|
|
Linked ./people/:state:id/MI/5 -> ./people/Darrel
|
|
+ cargo run --quiet -- get -a ./people
|
|
user.ghee.tableinfo {"key":"name","indices":{"id":"./people:id","name":"./people","state,id":"./people/:state:id"}}
|
|
./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
|
|
+ cargo run --quiet -- get -a -w state=CA -f name ./people
|
|
./people/Wulfrum user.name Wulfrum
|
|
./people/Sandeep user.name Sandeep
|
|
+ cargo run --quiet -- del -v ./people -w name=Sofia
|
|
Removed ./people:id/1
|
|
Removed ./people/Sofia
|
|
Removed ./people/:state:id/WA/1
|
|
+ cargo run --quiet -- del -v ./people:id 3
|
|
Removed ./people:id/3
|
|
Removed ./people/Janella
|
|
Removed ./people/:state:id/FL/3
|
|
+ cargo run --quiet -- del -v ./people/:state:id CA 0
|
|
Removed ./people:id/0
|
|
Removed ./people/Wulfrum
|
|
Removed ./people/:state:id/CA/0
|
|
+ cargo run --quiet -- get -a -w state=CA -f name ./people/:state:id
|
|
./people/:state:id/CA/2 user.name Sandeep
|
|
+ cargo run --quiet -- create -v ./direct -k blah
|
|
Initialized table ./direct with key: user.blah
|
|
+ cargo run --quiet -- create -v ./people2 -k id
|
|
Initialized table ./people2 with key: user.id
|
|
Initialized ./people2/3
|
|
Initialized ./people2/4
|
|
Initialized ./people2/5
|
|
+ cd ..
|