This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd "././app" # change to SLN route | |
echo "dotnet build" | |
dotnet clean | |
dotnet build | |
rc=$? | |
if [[ $rc != 0 ]] ; then | |
echo -e "build failed" | |
exit $rc | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (n) -[r] -> () DELETE n, r | |
MATCH (n) DELETE n | |
CREATE(CityA:City { name: "City-A"}) | |
CREATE(CityB:City { name: "City-B"}) | |
CREATE(P1:Person { name: "Person-1"}) | |
CREATE(P2:Person { name: "Person-2"}) | |
CREATE(P3:Person { name: "Person-3"}) | |
CREATE(P4:Person { name: "Person-4"}) | |
CREATE(P5:Person { name: "Person-5"}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Clear All | |
g.E().drop() | |
g.V().drop() | |
// Create vertices | |
g.addV('Employees').property('id', 'Disnesh').property('age', 28).property('occupation', 'Software designer').property('born', 'ISB').property('city', 'SJC') | |
g.addV('Employees').property('id', 'Gilfoyle').property('age', 30).property('occupation', 'VP of Architecture').property('born', 'YUL') .property('city', 'SJC') | |
g.addV('Employees').property('id', 'Richard').property('age', 29).property('occupation', 'CEO').property('born', 'OKC').property('city', 'SJC') | |
g.addV('Employer').property('id', 'Pied Piper').property('founded', '2014').property('city', 'SJC') |