graql-0.1.0.0: Execute Graql queries on a Grakn graph
Graql.Shell
Synopsis
data Concept Source #
A concept in the graph
Instances
Methods
showsPrec :: Int -> Concept -> ShowS #
show :: Concept -> String #
showList :: [Concept] -> ShowS #
parseJSON :: Value -> Parser Concept #
parseJSONList :: Value -> Parser [Concept] #
type Result = Map Var Concept Source #
A result of a match query, binding variables to concepts
cid :: Concept -> Text Source #
ctype :: Concept -> Maybe Name Source #
value :: Concept -> Maybe Value Source #
runFile :: FilePath -> IO () Source #
Run the given file path on the database, ignoring the output
runMatch :: MatchQuery -> IO [Result] Source #
Run a match query on the graph
migrateCsv :: FilePath -> FilePath -> String -> IO () Source #
Run the CSV migrator using the given csv file, template file and separator