module Orchestrate::Application::Example

Usage example

class Film < Orchestrate::Application::Record
end

By default, it is expected that the collection name can be derived from the class name as shown:

Any collection names that do not follow this convention must be specified by adding the :define_collection_name key to the params hash during model initialization.

class Film < Orchestrate::Application::Record

  def initialize(params={})
    params[:define_collection_name] = "Classic_Film_Collection"
    super params
  end
end