[fpc-pascal] Database Metadata proposal

LacaK lacak at zoznam.sk
Mon Jun 2 15:27:20 CEST 2014


Daniel Gaspary  wrote / napĂ­sal(a):
> On Mon, Jun 2, 2014 at 3:01 AM, LacaK <lacak at zoznam.sk> wrote:
>   
>> IMO very similar result you can get also with existing implementation, when
>> you use:
>>     
>
> Yes, this is the way GetDBInfo do, but it's not public, and never
> return schema. 
Code which I have attached uses only public methods and returns 
"metadata dataset" which has also schema_name column
(for SQLConnection which support schemas. I have used public method 
SetSchemaInfo not GetDBInfo)

> What I did was to copy and modify this method.
>
> I have sent a patch: http://bugs.freepascal.org/view.php?id=26254
>   
Yes I see it, but as I wrote your new method returns collection, which 
you must process, which is more or less what you can do with "metadata 
dataset"

-Laco.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140602/16b8206c/attachment.html>


More information about the fpc-pascal mailing list