Methods
Instance Public methods
explain(arel, binds = [], _options = [])
📝 Source code
# File activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb, line 18
def explain(arel, binds = [], _options = [])
sql = "EXPLAIN QUERY PLAN " + to_sql(arel, binds)
result = internal_exec_query(sql, "EXPLAIN", [])
SQLite3::ExplainPrettyPrinter.new.pp(result)
end
🔎 See on GitHub
high_precision_current_timestamp()
📝 Source code
# File activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb, line 110
def high_precision_current_timestamp
HIGH_PRECISION_CURRENT_TIMESTAMP
end
🔎 See on GitHub