Welcome Guest, Not a member yet? Register   Sign In
Using stored functions in Active Record
#1

[eluser]Alexxz[/eluser]
How to use some DB functions in Active record?
For example in MySQL,
Code:
UPDATE table SET value = 'new value', changed = NOW();
How can I produce that kind of query with active record?
May be there is some dirty hack?
I can't use php's time functions because i have a lot of servers with different time and one DB.


Messages In This Thread
Using stored functions in Active Record - by El Forum - 12-17-2007, 12:57 AM
Using stored functions in Active Record - by El Forum - 12-17-2007, 02:06 AM
Using stored functions in Active Record - by El Forum - 12-17-2007, 08:43 AM
Using stored functions in Active Record - by El Forum - 10-06-2008, 01:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB