smollerGraph 0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
facts.cc File Reference
#include "smollergraph/facts.h"
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/status/statusor.h"
#include "smollergraph/parser.h"

Go to the source code of this file.

Namespaces

namespace  smollergraph
 

Functions

absl::Status smollergraph::LoadFacts (std::istream &in, Graph &graph)
 Reads facts into graph, one a line, written as Cypher patterns such as (Red fox)-[:EATS]->(Rabbit), or a node on its own, such as (Rabbit).
 

Variable Documentation

◆ label

std::string_view label

Definition at line 18 of file facts.cc.

◆ properties

std::vector<Property> properties

Definition at line 19 of file facts.cc.

◆ text

std::string_view text

Definition at line 17 of file facts.cc.