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
60 61 62 63 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 60 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
52 53 54 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 52 def is_view @is_view || false end |
#is_view=(value) ⇒ Object
56 57 58 |
# File 'lib/active_record/connection_adapters/clickhouse_adapter.rb', line 56 def is_view=(value) @is_view = value end |