class Marten::DB::Migration::Operation::Optimization::Result

Overview

Represents the result of a migration operation optimization.

Defined in:

marten/db/migration/operation/optimization/result.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(operations : Array(Operation::Base), type : ResultType) #

[View source]
def self.new(type : ResultType) #

[View source]

Class Method Detail

def self.completed #

[View source]
def self.completed(*ops : Operation::Base) #

[View source]
def self.failed #

[View source]
def self.unchanged #

[View source]

Instance Method Detail

def completed? #

[View source]
def failed? #

[View source]
def operations : Array(Marten::DB::Migration::Operation::Base) #

[View source]
def unchanged? #

[View source]