method

distinct

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::ConnectionAdapters::SchemaStatements

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

These similar methods exist in v6.1.7.7:

distinct(columns, order_by) public

SELECT DISTINCT clause for a given set of columns and a given ORDER BY clause.

distinct("posts.id", ["posts.created_at desc"])
Show source
Register or log in to add new notes.