Re: [gnome-db] trigger

Andrea Zagli <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
Il giorno mer 02 giu 2010 12:01:50 CEST, Vivien Malerba ha scritto:
> On 2 June 2010 11:35, Andrea Zagli <[email protected]> wrote:
>> i would like to realize on my applications, based on libgda, something
>> similar to trigger
>>
>> is there some function/signal to make it possible? for example 2 signals
>> named "before-non-select-execution" and "after-non-select-execution" on
>> GdaConnection
>
> The GdaConnection object does not emit any signal before or after
> having executed a statement, but this could easily be added, and now
> is the correct timeframe for this as the next stable version is not
> far away...
> Please tell me exactly what you need and I'll see how to implement it.

currently, the two signals above are enough for me

i'll use them to "interface" my applications with a small library that  
i wrote that saves every change on a db; so in return i need for  
example an object that represents each parts of an sql statament to  
obtain the key (because i must select the same record edited by the  
statement)

i tought that last part was possibile with GdaSqlBuilder; but i just  
saw that GdaSqlBuilder (and GdaStatement) only construct the sql  
statament, without return the sql parts

i think it can be very useful to have the sql statement separated in  
objects that can be more easly manipulated than a string

thanks a lot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.