->keys()

->keys() -- Get or set the table keys

Synopsis

Описание

Without any argument, it returns the keys used by the object (the generator builds these and guess'es them based on finding things like primary key, unique, or nextval() in the description. Calling it with a value , or mulitple values, sets it for the current instance of the object.

The default keys are is normally stored in the database.ini file described in the Autobuilding section.

Заметка

Эта функция не должна вызываться статически.

Пример

    Поддержать сайт на родительском проекте КГБ