abstract class Crecto::Model

Overview

Your data models should extend Crecto::Model:

class User < Crecto::Model -or-

class User
  include Crecto::Schema
  extend Crecto::Changeset(User)
end

Defined in:

crecto/model.cr