Run A Query In Trigger

A place to discuss development of the Xataface core.

Run A Query In Trigger

Postby cyberws » Thu Sep 03, 2009 2:00 pm

What is the best way to submit a query in a trigger?

For example:

$idvalue=$record->display('somecolum');

Run following query and store date:

select col1,col2 from table where id='$idvalue';

Thanks.
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Postby cyberws » Thu Sep 03, 2009 2:11 pm

Let me follow up. I know I can use mysql_query and such but I am trying to run things through the main Dataface wrapper.
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Postby cyberws » Tue Sep 08, 2009 7:00 am

No resposne so I made my own wrapper that is called in all the custom class files. This issue has been resolved outside of Dataface classes.
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Postby shannah » Tue Sep 08, 2009 12:50 pm

I'm not actually clear on the question. But glad to hear you solved it.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 10 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved