Active Record and keys

Hello guys.

I try to find a method which chose from


$model->getTableSchema()

list of keys. A method such hasn’t found. How it is possible to choose keys on a one field(CDbColumnSchema) or the list of keys for table (CDbTableSchema)?

Thanks.

Kind Regards Aleksey.

What about:




$columns = $model->getTableSchema()->getColumnNames();



Lubos