void
Repeater::process_saving_statement(SQLStatement& statement)
{
    Frequency const freq = value(m_data->frequency);
    JEWEL_ASSERT
    (   is_valid_date_for_interval_type
        (   boost_date_from_julian_int(value(m_data->next_date)),
            freq.step_type()
        )
    );
    statement.bind(":interval_units", freq.num_steps());
    statement.bind
    (   ":interval_type_id",
        static_cast<int>(freq.step_type())
    );
    statement.bind(":next_date", value(m_data->next_date));
    statement.bind(":journal_id", value(m_data->journal_id));
    statement.step_final();
    return;
}