[odb-users] BLOBs and multi-database

Marco Craveiro marco.craveiro at gmail.com
Wed Mar 1 06:30:36 EST 2017


Hi Boris,

<blob for multiple databases>
> You are probably looking for the database pragma prefix (introduction
> to Chapter 16, "Multi-Database Support"):
>
> #pragma db pgsql:type("BYTEA") oracle:type("BLOB")
> std::vector<char> data;

Yep that was exactly it, thanks very much.

Cheers
-- 
Marco Craveiro

MD, Domain Driven Consulting
about: http://about.me/marcocraveiro
blog: http://mcraveiro.blogspot.co.uk
twitter: https://twitter.com/MarcoCraveiro

That the Ideas are themselves manifestations (of the Idea-Idea) and
that the Idea-Idea is a-kind-of Manifestation-Idea—which is a-kind-of
itself, so that the system is completely self-describing— would have
been appreciated by Plato as an extremely practical joke [Plato]. --
Alan Key



More information about the odb-users mailing list