[Lazarus] SQL parser

Lee Jenkins lee at datatrakpos.com
Wed Aug 18 20:12:59 CEST 2010


It would be useful in that context too I think.  I wrote a custom iterator for tiOPF object lists a while back that uses very simple selection syntax.  This parser may be perfect for extending it... 

--
Warm Regards,

Lee Jenkins

Michael Van Canneyt <michael at freepascal.org> wrote:

>
>
>On Wed, 18 Aug 2010, Dimitri Smits wrote:
>
>>
>> ----- "Lee Jenkins" <lee at datatrakpos.com> schreef:
>>
>>> Michael Van Canneyt wrote:
>>>
>>>>
>>>> One of the things I've been thinking about is integrating it with
>>> tiOPF,
>>>> so one wouldn't need to write SQL any more.  You could use it to
>>> reverse
>>>> engineer all used SQL statements and convert it to something more
>>> OOP.
>>>>
>>>
>>> It would be very cool to be have an OQL in tiOPF and your new parser
>>> may just be
>>> the ticket to do that.
>>>
>>
>> why stop there? Maybe a language-construct like LINQ in .Net for dynamic+iteratable resultsets?
>
>As far as I understand it, LINQ does the opposite; it expresses iterators in a kind of SQL syntax ?
>
>Michael.
>
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


More information about the Lazarus mailing list