cards
id (INT), status (BOOL), ...
stations
id (INT), name (VARCHAR), ...
operatioons
id (INT), type_id(INT) station_id (INT), sum(INT), balance (INT), created (INT)...
operatioon_types
id (INT), name (VARCHAR), ...
1, Платежи
2, Расходы
SELECT FROM `dialog_messages` WHERE `dialog_id` = {ID_ДИАЛОГА}
На самом деле HR'ы зачастую сами не знают, кого они ищут, поэтому пишут всякую хрень в вакансиях
http://steamcommunity.com/market/search/render/?query=MONTASAYER&start=0&count=10&search_descriptions=0&sort_column=price&sort_dir=asc
$page->add('tags', $tag);
/**
* Adds a new relationship to between this model and another.
*
* // Add the login role using a model instance
* $model->add('roles', ORM::factory('role', array('name' => 'login')));
* // Add the login role if you know the roles.id is 5
* $model->add('roles', 5);
* // Add multiple roles (for example, from checkboxes on a form)
* $model->add('roles', array(1, 2, 3, 4));
*
* @param string $alias Alias of the has_many "through" relationship
* @param mixed $far_keys Related model, primary key, or an array of primary keys
* @return ORM
*/
public function add($alias, $far_keys)
{
$far_keys = ($far_keys instanceof ORM) ? $far_keys->pk() : $far_keys;
$columns = array($this->_has_many[$alias]['foreign_key'], $this->_has_many[$alias]['far_key']);
$foreign_key = $this->pk();
$query = DB::insert($this->_has_many[$alias]['through'], $columns);
foreach ( (array) $far_keys as $key)
{
$query->values(array($foreign_key, $key));
}
$query->execute($this->_db);
return $this;
}
Вопрос не совсем корректный, накосячить можно в любом случае.