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”]
237
+
The tx_timeout is an integer in that specifies a transaction timeout in ms.
238
+
The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
239
+
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.
240
+
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>
@@ -237,52 +250,65 @@ public function run(string $statement, array $parameters = [], array $extra = []
237
250
/**
238
251
* Send PULL_ALL message
239
252
* @version <4
253
+
* @param int $n The n specifies how many records to fetch. n=-1 will fetch all records.
254
+
* @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 ``.
240
255
* @return mixed Array of records or false on error. Last array element is success message.
* @param int $n The n specifies how many records to fetch. n=-1 will fetch all records.
269
+
* @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 ``.
253
270
* @return mixed Array of records or false on error. Last array element is success message.
254
271
*/
255
-
publicfunctionpull()
272
+
publicfunctionpull(int$n = -1, int$qid = -1)
256
273
{
257
-
return$this->pullAll();
274
+
return$this->pullAll($n, $qid);
258
275
}
259
276
260
277
/**
261
278
* Send DISCARD_ALL message
262
279
* @version <4
280
+
* @param int $n The n specifies how many records to throw away. n=-1 will throw away all records.
281
+
* @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 ``.
* @param int $n The n specifies how many records to throw away. n=-1 will throw away all records.
296
+
* @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”]
308
+
The tx_timeout is an integer in that specifies a transaction timeout in ms.
309
+
The tx_metadata is a dictionary that can contain some metadata information, mainly used for logging.
310
+
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.
311
+
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>
0 commit comments