Commit e94ed50
Split session tx result prototype (#390)
* Non-working at all...
* Babysteps on result before weekend..
* Result prototype
* Multiple results in tx
* Pair programming
* Removed commented code
* integration test is runable
* Bookmarks prototype
* Small fixes
* Wrong func name
* Syntax fixes
* Syntax error
* correct integration tests for multiple results
* explicit transaction case1 is runable
* message fetching logic needs to be fixed
* Better conn handling
* No fetch in tx _begin
* nested results are working now for explicit transactions.
* Fixed some tests
* transaction.commit will properly consume all the records
* tests/integration/test_autocommit.py is green
* Fixed bookmarks api
* fixed a case of fetching records where there are no records to fetch.
* integration test_result is green
* Bookmark tests green
* data is only used on record objects
* Removed 2s sleep for stub tests
* fixed an integration test
test_errors_on_run_transaction
* Rollback on failed connection fix
* added is_reset state to bolt4
* stabilized an integration test
* added check for Query object for transaction.run
* Handle broken connections
* fixed case with Bolt 3 tx.run tx.run case
* cleanup of code
* logging cleanup
* comment removed cleanup
* removal of old comment
* fixed raise hell error
* fixed case with session.run session.run
* fixed session.run session.run
* fixed Transaction class api
* fixed the api for Result object
* fixed api for Session Object
* removed _detach
replaced calls with consume and _buffer_all for correct behaviour
Co-authored-by: Peter Wilhelmsson <peter.wilhelmsson@neo4j.com>1 parent 72cb50f commit e94ed50
File tree
26 files changed
+895
-768
lines changed- neo4j
- io
- work
- tests
- integration
- examples
- stub
- scripts
- v3
- v4x0
26 files changed
+895
-768
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 96 | | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
206 | 209 | | |
207 | 210 | | |
208 | 211 | | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
| |||
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| 246 | + | |
242 | 247 | | |
243 | 248 | | |
244 | 249 | | |
| |||
300 | 305 | | |
301 | 306 | | |
302 | 307 | | |
303 | | - | |
| 308 | + | |
304 | 309 | | |
305 | 310 | | |
306 | 311 | | |
| |||
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
532 | | - | |
| 537 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| 175 | + | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| 190 | + | |
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
| |||
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| |||
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| 250 | + | |
246 | 251 | | |
247 | 252 | | |
248 | 253 | | |
| |||
304 | 309 | | |
305 | 310 | | |
306 | 311 | | |
307 | | - | |
| 312 | + | |
308 | 313 | | |
309 | 314 | | |
310 | 315 | | |
| |||
483 | 488 | | |
484 | 489 | | |
485 | 490 | | |
486 | | - | |
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
493 | 497 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
507 | 503 | | |
508 | 504 | | |
509 | 505 | | |
| |||
544 | 540 | | |
545 | 541 | | |
546 | 542 | | |
547 | | - | |
| 543 | + | |
0 commit comments