Rank: Newbie Coder Groups: Member
Joined: 5/31/2012 Posts: 7 Points: 18 Location: Portugal - Lisbon
|
Hello
I'm trying to retrive data from the SQL filtering data. In a query it whould be something like this: SELECT * FROM tale WHERE system = 'system' AND (time <= '2012-01-01 00:00:00' AND time >= '2012-02-01 00:00:00')
Currently I'm retriving the data like: var adData:ArrayCollection = new ArrayCollection(); acData = ActiveRecords.table.findBySystem(system);
In this process I can't seen to put the clause in bold. Does any one have any ideias on how to do this?
Thanks in advance, best regards João Pedro de Almeida
|