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>
@@ -239,56 +250,65 @@ public function run(string $statement, array $parameters = [], array $extra = []
239
250
/**
240
251
* Send PULL_ALL message
241
252
* @version <4
242
-
* @param array $extra
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 ``.
243
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 ``.
257
270
* @return mixed Array of records or false on error. Last array element is success message.
258
271
*/
259
-
publicfunctionpull(array$extra = [])
272
+
publicfunctionpull(int$n = -1, int$qid = -1)
260
273
{
261
-
return$this->pullAll($extra);
274
+
return$this->pullAll($n, $qid);
262
275
}
263
276
264
277
/**
265
278
* Send DISCARD_ALL message
266
279
* @version <4
267
-
* @param array $extra
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