instance method schema_expression

Ruby on Rails 5.1.7

Since v5.0.7.2 Last seen in v5.1.7 Private — implementation detail, not part of the public API

Available in: v5.0.7.2 v5.1.7

Signature

schema_expression(column)

No documentation comment.

Parameters

column req
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb, line 108
        def schema_expression(column)
          "-> { #{column.default_function.inspect} }" if column.default_function
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb line 108 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::ColumnDumper

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close