Let's say I'm updating a model and a trigger or an SQL function modifies a row. Is there a setting so those changes are reflected in model itself without having to call #refresh?
For instance, I have a model where an :amount is set by a trigger as a combination of other columns, :amount_1, :amount_2 and :amount_3. If I update :amount_3, the value in the DB for :amount is correct, but the model doesn't get updated. Another example would be if I set a time column to something like :NOW.sql_function. The time gets set properly at the DB end, but after the update, the model still returns :NOW.sql_function instead of the updated time. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
