Subject | Re: [Firebird-Architect] Re: C API Upgrade? |
---|---|
Author | Alex Peshkov |
Post date | 2008-01-31T14:41:08Z |
On Thursday 31 January 2008 17:37, Adriano dos Santos Fernandes wrote:
> Alex Peshkov wrote:Certainly. But please explain, what to do if jpeg is stored in blob?
> > On Thursday 31 January 2008 17:17, zedalaye wrote:
> >>> Can you provide a list of functions you suggest?
> >>
> >> At least, It would be very handy to have a function that returns the
> >> contents of a column (given a statement handle and a column index) in
> >> a char * buffer, that do all the complex stuff of converting data,
> >> blobs from firebird datatypes into "standard strings".
> >
> > What should be done for non-character data? I can imagine use of
> > sprintf() for numerics, but please explain what to do with non-text
> > BLOBs?
>
> The API itself may call others API functions that go to the server to do
> things. Example:
> getString(blob) -> getBlobId(), openBlob(), readBlob(), closeBlob()