-
Notifications
You must be signed in to change notification settings - Fork 0
Pratiksha #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Pratiksha #1
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c873406
written the test for neo4jOGM test using ogm class
p123-stack 9d7bca0
test code for OGM test cases
p123-stack 450102a
test code for OGM test cases
p123-stack 2de50a1
added the test code for float and 3D point datatype
p123-stack 32866cc
OGM test code for all point datatypes
p123-stack 6d0fbd3
OGM test code for all datatypes
p123-stack 939d106
Changed the code for point test cases
p123-stack c2a583b
OGM test code for points
p123-stack 8ed53ba
test code
p123-stack ede39eb
test code
p123-stack 683f37c
updated test code for ci
p123-stack 1667917
add result cache to gitignore
p123-stack 5f53d22
Merge branch 'main' into pratiksha
p123-stack 42de66a
enable ci for every pull_request
p123-stack cc44e63
Merge branch 'pratiksha' of https://github.com/nagels-tech/Neo4j-Clie…
p123-stack 945e9f8
test code with parameters
p123-stack 97b5c6c
added the neo4j exception implementation
p123-stack 7226193
Exception testing code
p123-stack 5a77694
Merge remote-tracking branch 'origin/main' into pratiksha
p123-stack 21ec7b1
updated test
p123-stack 0ca519a
added extra material for pratiksha to understand the query api use ca…
transistive b471ee2
transaction code
p123-stack e05524e
Transaction test case code
p123-stack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
namespace Neo4j\QueryAPI\Objects; | ||
|
||
class Node | ||
{ | ||
private $labels; | ||
p123-stack marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
private $properties; | ||
|
||
public function __construct(array $labels, array $properties) | ||
{ | ||
$this->labels = $labels; | ||
$this->properties = $properties; | ||
} | ||
|
||
public function getLabels(): array | ||
{ | ||
return $this->labels; | ||
} | ||
|
||
public function getProperties(): array | ||
{ | ||
return $this->properties; | ||
} | ||
} | ||
|
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
|
||
namespace Neo4j\QueryAPI\Objects; | ||
|
||
class Path | ||
{ | ||
private $nodes; | ||
private $relationships; | ||
|
||
public function __construct(array $nodes, array $relationships) | ||
{ | ||
$this->nodes = $nodes; | ||
$this->relationships = $relationships; | ||
} | ||
|
||
public function getNodes() | ||
{ | ||
return $this->nodes; | ||
} | ||
|
||
public function getRelationships() | ||
{ | ||
return $this->relationships; | ||
} | ||
} |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
namespace Neo4j\QueryAPI\Objects; | ||
|
||
class Person extends Node | ||
{ | ||
public function __construct(array $properties) | ||
{ | ||
parent::__construct(['Person'], $properties); // Pass the labels and properties correctly | ||
} | ||
} |
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
|
||
namespace Neo4j\QueryAPI\Objects; | ||
|
||
class Relationship | ||
{ | ||
private $type; | ||
private $properties; | ||
|
||
public function __construct($type, array $properties = []) | ||
{ | ||
$this->type = $type; | ||
$this->properties = $properties; | ||
} | ||
|
||
public function getType() | ||
{ | ||
return $this->type; | ||
} | ||
|
||
public function getProperties() | ||
{ | ||
return $this->properties; | ||
} | ||
} |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.