Subject | Re: [firebird-support] FB3 returning clause and new API |
---|---|
Author | Martin Schreiber |
Post date | 2016-09-15T09:57:59Z |
On Thursday 15 September 2016 11:09:43 Dimitry Sibiryakov sd@...
[firebird-support] wrote:
Pascal toolkit) so I don't know the returned data of the statements in the
first place.
In case of input params I implemented an own IMessageMetadata derivate which
uses the type information of TParam in order to setup the metadata. In case
of "returning" the data type is unknown without parsing the SQL statement.
It seems I always need to prepare the statement first?
Martin
[firebird-support] wrote:
> 15.09.2016 11:14, Martin Schreiber mse00000@... [firebird-support]wrote:
> > What if one wants to useI am implementing a Firebird 3 connection component for MSEide+MSEgui (a Free
> > IAttachment.execute() where no IStatement is available?
>
> (S)he must provide IMetadata built with builder.
Pascal toolkit) so I don't know the returned data of the statements in the
first place.
In case of input params I implemented an own IMessageMetadata derivate which
uses the type information of TParam in order to setup the metadata. In case
of "returning" the data type is unknown without parsing the SQL statement.
It seems I always need to prepare the statement first?
Martin