Comments (3)
pqxx::transaction_base::stream()
has the tests (the tests are also example code). see test file https://github.com/jtv/libpqxx/blob/7.9.0/test/unit/test_stream_query.cxx
There is also a stream_for()
that uses a callback.
- Source: https://github.com/jtv/libpqxx/blob/7.9.0/include/pqxx/transaction_base.hxx#L514-L552
- Test: https://github.com/jtv/libpqxx/blob/7.9.0/test/unit/test_transaction_base.cxx#L211-L227
from libpqxx.
That looks like what I need. Thank you! 🍻
from libpqxx.
I suppose I'll close the issue then.
from libpqxx.
Related Issues (20)
- After compilation, there are only pqxx files but no pqxx.hxx files. Is this normal? HOT 31
- Rtti usage on demand HOT 6
- linking issue when using torch+pqxx in cmake. HOT 11
- Can't use libpqxx 7.9.0 from vcpkg in a Visual Studio 2022 C++ 17 project HOT 6
- Allow parsing arrays without connection HOT 21
- Any example to deal with time or date? HOT 2
- ERROR: Unsupported server version; 9.0 is the minimum. HOT 4
- Readthedocs /stable documentation page is empty. HOT 7
- Make pqxx iterators model the right iterator category HOT 9
- CMakeDetermineCompileFeatures throwing errors HOT 24
- `stream_to` uses `quote_name` as 2 argument function HOT 6
- std::ranges undefined? HOT 7
- building fail on github actions using cmake 3.30 HOT 7
- Cross compile of the pqxx in c++ for arm7 HOT 4
- The linking issue with the compiled artifact libpqxx.so HOT 7
- query() for prepared statements HOT 4
- Possible to combine "on clonflict do nothing" and "stream_to"? HOT 9
- Link in navigation bar is wrong HOT 2
- /bin/true does not exist on MacOS X HOT 1
- Strange nontransaction behaviour... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpqxx.