Cant access model class inside ConsoleCommand



[size="5"]USE CASE

[/size] allow system post a job queue that will extract data from

a very large file (we are talking ~1-gigs above) and save it in the database


[/size]I got the job queue sorted out . my problem now is cannot call my model class inside

my command class. any help are very much appreciated .

I want to do something like these

MyData::model()->exists(array('someColumn'=> $extractedData  ))

Thank you in advance .

I am me from the future turns out … you only need to call


import the classes inside the models folder.