mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-14 14:59:07 +02:00
add new queries
This commit is contained in:
@@ -65,6 +65,23 @@ var GetRelationshipCypherQuery string
|
||||
//go:embed queries/create_child_parent_relationships.cypher
|
||||
var CreateChildParentRelationshipCypherQuery string
|
||||
|
||||
// Requires id1, id2, Relationship1, Relationship1 parameters.
|
||||
// return relationships
|
||||
//
|
||||
//go:embed queries/create_sibling_relationship.cypher
|
||||
var CreateSiblingRelationshipCypherQuery string
|
||||
|
||||
// Requires id1, id2, Relationship1, Relationship1 parameters.
|
||||
// return relationships
|
||||
//
|
||||
//go:embed queries/create_spouse_relationship.cypher
|
||||
var CreateSpouseRelationshipCypherQuery string
|
||||
|
||||
// Requires id1, id2 parameters.
|
||||
//
|
||||
//go:embed queries/delete_relationship.cypher
|
||||
var DeleteRelationshipCypherQuery string
|
||||
|
||||
// Requires id parameter.
|
||||
//
|
||||
//go:embed queries/get_family_tree_by_id.cypher
|
||||
|
Reference in New Issue
Block a user