Skip to content

Commit 01eb9f1

Browse files
Update README.md
1 parent 94e3277 commit 01eb9f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@ $neo4j->run('RETURN 1 AS num, 2 AS cnt');
4141
$rows = $neo4j->pull();
4242
```
4343

44+
| Method | Description |
45+
|--------------------------|---------------------------------------------------------------------------------------|
46+
| setProtocolVersions | set requested protocol versions |
47+
| getProtocolVersion | get used protocol version (you have to establish connection with init() method first) |
48+
| init | connect to database |
49+
| run | execute query |
50+
| pull / pullAll | fetch records from last query |
51+
| discard / discardAll | discard records from last query |
52+
| begin | start transaction |
53+
| commit | commit transaction |
54+
| rollback | rollback transaction |
55+
| reset | reset connection |
56+
4457
## Exceptions
4558
Throwing exceptions is default behaviour. If you want, you can assign own callable error handler to ``\Bolt\Bolt::$errorHandler``. It's called on error and methods (init, run, pullAll, ...) will therefore return false.
4659

0 commit comments

Comments
 (0)