Module: ActiveRecord::ModelSchema::ClassMethods
- Defined in:
- lib/active_record/connection_adapters/clickhouse_adapter.rb
Instance Method Summary collapse
Instance Method Details
#_delete_record(constraints) ⇒ Object
68 69 70 71 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 68 def _delete_record(constraints) raise ActiveRecord::ActiveRecordError.new('Deleting a row is not possible without a primary key') unless self.primary_key super end |
#is_view ⇒ Object
60 61 62 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 60 def is_view @is_view || false end |
#is_view=(value) ⇒ Object
64 65 66 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 64 def is_view=(value) @is_view = value end |