module

Ktistec::Model::Internal

Class methods

log_query(query, args = nil, &)

Logs query performance.

Times a database call and selectively emits a log message. The severity of the log message is based on the duration of the query. A slow query is any query that takes longer than 50ms. Slow queries include the query plan.

Source
to_sentence(type)

Transforms a type, in particular a union type, into a sentence.

Source