类:Mongoid::GlobalDiscriminatorKeyAssignment::InvalidFieldHost Private
- 继承:
-
对象
- 对象
- Mongoid::GlobalDiscriminatorKeyAssignment::InvalidFieldHost
- 包括:
- 文档
- 定义于:
- lib/mongoid.rb
Overview
此类是私有 API 的一部分。 应尽可能避免使用此类,因为它将来可能会被删除或更改。
此类用于获取 Mongoid 方法的方法定义位置。
常量摘要
文档中包含的常量
可组合项中包含的常量
Composable::MODULES 、 Composable::RESERVED_METHOD_NAMES
Interceptable中包含的常量
关联中包含的常量
Association::Depending中包含的常量
Association::Depending::STRATEGIES
Persistable中包含的常量
字段中包含的常量
Fields::Boolean 、 Fields::IDS 、 Fields::INVALID_BSON_CLASSES 、 Fields::StringifiedSymbol 、 Fields::TRANSLATIONS_SFX 、 Fields::TYPE_MAPPINGS
Atomic中包含的常量
实例属性摘要
文档中包含的属性
#__selected_fields , #new_record
Stateful中包含的属性
#destroyed 、 #flag_for_destroy 、 #previously_new_record
关联中包含的属性
属性中包含的属性
Clients::StorageOptions 中包含的属性
方法摘要
文档中包含的方法
#_handle_callbacks_after_instantiation 、 #as_document 、 #becomes 、 #freeze 、 #frozen? 、 #hash 、 #identity 、 #initialize 、 #internal_state= 、 #model_name 、 #to_key
Touchable::InstanceMethods中包含的方法
#_clear_touch_updates 、 #_gather_touch_updates 、 #_run_touch_callbacks_from_root 、 #_touchable_parent? 、 #suppress_touch_callbacks 、 #touch 、 #touch_callbacks_suppressed?
可组合项中包含的方法
Equality中包含的方法
Copyable中包含的方法
Interceptable中包含的方法
#_mongoid_run_child_after_callbacks 、 #_mongoid_run_child_before_callbacks 、 #_mongoid_run_child_callbacks 、 #_mongoid_run_child_callbacks_with_round 、 #_mongoid_run_child_callbacks_Without_round 、 #callback_executable? , #in_callback_state? 、 #pending_callbacks 、 #pending_callbacks= 、 #run_after_callbacks 、 #run_before_callbacks 、 #run_callbacks 、 #run_pending_callbacks
Validatable 中包含的方法
#begin_validate 、 #exit_validate 、 #performing_validations? 、#read_attribute_for_validation、#valid? , #validated? 、#validating、#validating_with_query?
从Traversable包含的方法
__redefine 、 #_children 、 #_descendants 、 #_parent 、 #_parent= 、 #_reset_memoized_descendants! 、#_root 、#_root? 、 #collect_children 、 #collect_descendants 、 #flag_descendants_persisted 、 #hereditary? 、 #parentize 、 #remove_child 、 #reset_persisted_descendants
Cacheable中包含的方法
Stateful中包含的方法
#destroyed? , #flag_for_destroy? , #new_record= , #new_record? , #persisted? , #previously_new_record? , #previously_persisted? , #pushable? , #readonly! , #readonly? , #settable? , #updateable?
Shardable 中包含的方法
#shard_key_field_value 、 #shard_key_fields 、 #shard_key_selector 、 #shard_key_selector_in_db
Serializable中包含的方法
Selectable中包含的方法
Reloadable中包含的方法
关联中包含的方法
#association_name 、 #embedded? , #embedded_many? , #embedded_one? , #referenced_many? , #referenced_one? , #reload_relations
Association::Reflections中包含的方法
#reflect_on_all_association 、 #reflect_on_association
Association::Macros中包含的方法
Association::Dependent中包含的方法
#apply_destroy_dependencies! , define_dependency! ,验证!
Association::Accessors中包含的方法
#__build__ 、 #create_relation 、 #reset_relation_criteria 、 #set_relation
Association::Referenced::Syncable中包含的方法
#_syncable? 、 #_synced 、 #_synced? 、 #remove_inverse_keys 、 #update_inverse_keys
Association::Referenced::CounterCache中包含的方法
define_callbacks! , #reset_counters
Association::Referenced::AutoSave中包含的方法
#__autosaving__, #autosaved?, #changed_for_autosave?, define_autosave!
Persistable中包含的方法
#atomically 、 #fail_due_to_callback! , #fail_due_to_validation!
Persistable::Unsettable 中包含的方法
Persistable::Upsertable 中包含的方法
Persistable::Updatable中包含的方法
#update, #update!, #update_attribute
Persistable::Settable中包含的方法
Persistable::Savable中包含的方法
Persistable::Renameable 中包含的方法
Persistable::Pushable 中包含的方法
Persistable::Pullable 中包含的方法
位置包含的方法
Persistable::Poppable 中包含的方法
Persistable::Multipliable中包含的方法
Persistable::Minable 中包含的方法
Persistable::Maxable中包含的方法
Persistable::Logical中包含的方法
Persistable::Incrementable中包含的方法
Persistable::Destroyable中包含的方法
Persistable::Deletable中包含的方法
Persistable::Createtable中包含的方法
Matchable中包含的方法
字段中包含的方法
#apply_default 、 #apply_defaults 、 #apply_post_processed_defaults 、 #apply_pre_processed_defaults 、 #attribute_names 、 database_field_name 、 #database_field_name 、 #dot_dollar_field? , #lazy_settable? 、 option 、 options 、 traverse_association_tree 、 #using_object_ids? , #validate_writable_field_name!
包含在Evolvable中的方法
属性中包含的方法
#allow_attributes 、#attribute_missing ? , #attribute_present? 、 #attributes_before_type_cast 、 #has_attribute? , #has_attribute_before_type_cast? 、 #process_raw_attribute 、 #read_attribute 、 #read_attribute_before_type_cast 、 #remove_attribute 、 #typed_attributes 、 #write_attribute 、 #write_attributes
Attributes::Readonly中包含的方法
Attributes::Processing中包含的方法
客户端包含的方法
clear、clients、 默认 、disconnect、reconnect、 设立 、with_name
Clients::Sessions中包含的方法
Clients::Options中包含的方法
# 集合 , #collection_name , #mongo_client , #persistence_context , #persistence_context? , #with
Clients::StorageOptions 中包含的方法
#remember_storage_options! , #storage_options
Changeable中包含的方法
#attribute_before_last_save、#changed、#changed?、#changed_attributes、#changes、#children_changed?、#children_may_have_changed!、#move_changes、#post_persist、#previous_changes、#remove_change、#saved_change_to_attribute、#saved_change_to_attribute?、#setters、#will_save_change_to_attribute?
Atomic中包含的方法
#add_atomic_pull , #add_atomic_unset , #atomic_array_add_to_sets , #atomic_array_pulls , #atomic_array_pushes , #atomic_attribute_name , #atomic_delete_modifier , #atomic_insert_modifier , #atomic_path , #atomic_paths , #atomic_position , #atomic_pulls , #atomic_pushes , #atomic_sets , #atomic_unsets , #atomic_updates , #delayed_atomic_pulls 、 #delayed_atomic_sets 、 #delayed_atomic_unsets 、 #flag_as_destroyed 、 #flag_destroys 、 #process_flag_destroys