Welcome Guest, Not a member yet? Register   Sign In
Check if a value exist i a query
#4

[eluser]jedd[/eluser]
[quote author="fredrik.carlsen" date="1251052364"]I know how to use active records to create arrays, I mean the function NOT IN or IN - is there a build in function in active records to do that? [/quote]

Yes there is .. and it's documented in the AR section of [url="http://ellislab.com/codeigniter/user-guide/database/active_record.html"]the user guide[/url]

There was also [url="http://ellislab.com/forums/viewthread/126494/]a thread recently[/url] that talked about using the where_not_in() function in a pretty snazzy way.


Messages In This Thread
Check if a value exist i a query - by El Forum - 08-23-2009, 07:19 AM
Check if a value exist i a query - by El Forum - 08-23-2009, 07:25 AM
Check if a value exist i a query - by El Forum - 08-23-2009, 07:32 AM
Check if a value exist i a query - by El Forum - 08-23-2009, 07:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB