-
Notifications
You must be signed in to change notification settings - Fork 0
3.1. DB Command
t edited this page Sep 13, 2010
·
18 revisions
DB Commands modify/select data in graph store.
Command
gas db init —db=/var/sampledbCommand
gas db tmp_clear —db=/var/sampledbor add —tmp_clear flag when running other command
gas any command —tmp_clear —db=/var/sampledbCommand
gas edge insert —db=/var/sampledb < sampleCommand
gas edge select 1 —db=/var/sampledbResult
result: edges: - [1,3] - [1,4] edge_count: 2Command
gas edge all —db=/var/sampledbResult
result: edges: - [1,3] - [1,4] - [2,3] - [2,4] - [3,1] - [3,2] - [4,2] - [4,3] edge_count: 8