You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>The bookmarks is a list of strings containg some kind of bookmark identification e.g [“neo4j-bookmark-transaction:1”, “neo4j-bookmark-transaction:2”]
251
-
The tx_timeout is an integer in that specifies a transaction timeout in ms.
252
-
The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
253
-
The mode specifies what kind of server the RUN message is targeting. For write access use "w" and for read access use "r". Defaults to write access if no mode is sent.
254
-
The db specifies the database name for multi-database to select where the transaction takes place. If no db is sent or empty string it implies that it is the default database.</pre>
238
+
* <pre>The bookmarks is a list of strings containg some kind of bookmark identification e.g [“neo4j-bookmark-transaction:1”, “neo4j-bookmark-transaction:2”]
239
+
* The tx_timeout is an integer in that specifies a transaction timeout in ms.
240
+
* The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
241
+
* The mode specifies what kind of server the RUN message is targeting. For write access use "w" and for read access use "r". Defaults to write access if no mode is sent.
242
+
* The db specifies the database name for multi-database to select where the transaction takes place. If no db is sent or empty string it implies that it is the default database.</pre>
@@ -264,13 +252,13 @@ public function run(string $statement, array $parameters = [], array $extra = []
264
252
265
253
/**
266
254
* Send PULL_ALL message
267
-
* @version <4
268
255
* @param int $n The n specifies how many records to fetch. n=-1 will fetch all records.
269
256
* @param int $qid The qid (query identification) specifies the result of which statement the operation should be carried out. (Explicit Transaction only). qid=-1 can be used to denote the last executed statement and if no ``.
@@ -279,27 +267,27 @@ public function pullAll(int $n = -1, int $qid = -1)
279
267
280
268
/**
281
269
* Send PULL message
282
-
* @version >=4
283
-
* @internal PULL_ALL alias
284
270
* @param int $n The n specifies how many records to fetch. n=-1 will fetch all records.
285
271
* @param int $qid The qid (query identification) specifies the result of which statement the operation should be carried out. (Explicit Transaction only). qid=-1 can be used to denote the last executed statement and if no ``.
286
272
* @return array Array of records. Last array element is success message.
* @param int $n The n specifies how many records to throw away. n=-1 will throw away all records.
298
285
* @param int $qid The qid (query identification) specifies the result of which statement the operation should be carried out. (Explicit Transaction only). qid=-1 can be used to denote the last executed statement and if no ``.
@@ -308,12 +296,12 @@ public function discardAll(int $n = -1, int $qid = -1)
308
296
309
297
/**
310
298
* Send DISCARD message
311
-
* @version >=4
312
-
* @internal DISCARD_ALL alias
313
299
* @param int $n The n specifies how many records to throw away. n=-1 will throw away all records.
314
300
* @param int $qid The qid (query identification) specifies the result of which statement the operation should be carried out. (Explicit Transaction only). qid=-1 can be used to denote the last executed statement and if no ``.
<pre>The bookmarks is a list of strings containg some kind of bookmark identification e.g [“neo4j-bookmark-transaction:1”, “neo4j-bookmark-transaction:2”]
328
-
The tx_timeout is an integer in that specifies a transaction timeout in ms.
329
-
The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
330
-
The mode specifies what kind of server the RUN message is targeting. For write access use "w" and for read access use "r". Defaults to write access if no mode is sent.
331
-
The db specifies the database name for multi-database to select where the transaction takes place. If no db is sent or empty string it implies that it is the default database.</pre>
314
+
* <pre>The bookmarks is a list of strings containg some kind of bookmark identification e.g [“neo4j-bookmark-transaction:1”, “neo4j-bookmark-transaction:2”]
315
+
* The tx_timeout is an integer in that specifies a transaction timeout in ms.
316
+
* The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
317
+
* The mode specifies what kind of server the RUN message is targeting. For write access use "w" and for read access use "r". Defaults to write access if no mode is sent.
318
+
* The db specifies the database name for multi-database to select where the transaction takes place. If no db is sent or empty string it implies that it is the default database.</pre>
332
319
* @return bool
333
320
* @throws Exception
321
+
* @version >=3
334
322
*/
335
323
publicfunctionbegin(array$extra = []): bool
336
324
{
@@ -341,9 +329,9 @@ public function begin(array $extra = []): bool
341
329
342
330
/**
343
331
* Send COMMIT message
344
-
* @version >=3
345
332
* @return bool
346
333
* @throws Exception
334
+
* @version >=3
347
335
*/
348
336
publicfunctioncommit(): bool
349
337
{
@@ -354,9 +342,9 @@ public function commit(): bool
354
342
355
343
/**
356
344
* Send ROLLBACK message
357
-
* @version >=3
358
345
* @return bool
359
346
* @throws Exception
347
+
* @version >=3
360
348
*/
361
349
publicfunctionrollback(): bool
362
350
{
@@ -379,11 +367,11 @@ public function reset(): bool
379
367
380
368
/**
381
369
* Send ROUTE message to instruct the server to return the current routing table.
382
-
* @version >=4.3 In previous versions there was no explicit message for this and a procedure had to be invoked using Cypher through the RUN and PULL messages.
383
370
* @param array|null $routing
384
371
* @param array $bookmarks
385
372
* @param array|string|null $extra
386
373
* @return array|null
374
+
* @version >=4.3 In previous versions there was no explicit message for this and a procedure had to be invoked using Cypher through the RUN and PULL messages.
0 commit comments