Sha256: 8fa15a7086a5ffe9b93cc5b7acfb79d1828796b36f462a2622fb6b7bf1ff91d9
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
# This file is autogenerated. Do not edit it by hand. Regenerate it with: # srb rbi sorbet-typed # # If you would like to make changes to this file, great! Please upstream any changes you make here: # # https://github.com/sorbet/sorbet-typed/edit/master/lib/activerecord/all/sanitization.rbi # # typed: strong # https://github.com/rails/rails/blob/5-2-stable/activerecord/lib/active_record/sanitization.rb module ActiveRecord::Sanitization::ClassMethods sig { params(condition: T.any(T.nilable(String), T::Array[T.untyped])).returns(T.nilable(String)) } def sanitize_sql_for_conditions(condition) end alias :sanitize_sql :sanitize_sql_for_conditions sig { params(assignments: T.any(T::Array[T.untyped], T::Hash[T.untyped, T.untyped], String), default_table_name: String).returns(String) } def sanitize_sql_for_assignment(assignments, default_table_name = table_name) end sig { params(condition: T.any(T::Array[T.untyped], String)).returns(String) } def sanitize_sql_for_order(condition) end sig { params(attrs: T::Hash[T.untyped, T.untyped], table: String).returns(String) } def sanitize_sql_hash_for_assignment(attrs, table) end sig { params(string: String, escape_character: String).returns(String) } def sanitize_sql_like(string, escape_character = "\\") end sig { params(ary: T::Array[T.untyped]).returns(String) } def sanitize_sql_array(ary) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wt_activerecord_index_spy-0.5.0 | sorbet/rbi/sorbet-typed/lib/activerecord/all/sanitization.rbi |