Profiles::ProfileFollowed_users
Inherits Marten::DB::Model < Marten::Template::Object::Auto < Marten::Template::Object < Marten::Template::CanDefineTemplateAttributes < Marten::DB::Model::Callbacks < Marten::Core::Validation::Callbacks < Marten::Core::Validation < Marten::DB::Model::Validation < Marten::DB::Model::Querying < Marten::DB::Model::Persistence < Marten::DB::Model::Comparison < Marten::DB::Model::Table < Marten::DB::Model::Connection < Marten::Apps::Association < Marten::DB::Model::AppConfig < Marten::DB::Model::Inheritance < Reference < Object
Constants
FIELDS_ = {"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "from_profile" => {type: "many_to_one", kwargs: {to: Profiles::Profile,
on_delete: :cascade,
related: "from_profile_followed_users"}}, "to_profile" => {type: "many_to_one", kwargs: {to: Profiles::Profile,
on_delete: :cascade,
related: "to_profile_followed_users"}}} of Nil => Nil
Instance methods
from_profile
from_profile!
from_profile?
from_profile_id
from_profile_id!
from_profile_id?
id
id!
id=(id : Int32 | Int64 | Nil | Nil)
id?
to_profile
to_profile!
to_profile?
to_profile_id
to_profile_id!
to_profile_id?