lib/sequel/model.rb in sequel-3.9.0 vs lib/sequel/model.rb in sequel-3.10.0
- old
+ new
@@ -42,16 +42,18 @@
# Map that stores model classes created with Sequel::Model(), to allow the reopening
# of classes when dealing with code reloading.
ANONYMOUS_MODEL_CLASSES = {}
# Class methods added to model that call the method of the same name on the dataset
- DATASET_METHODS = %w'<< add_graph_aliases all avg count delete distinct
- each each_page eager eager_graph empty? except exclude filter first from from_self
- full_outer_join get graph grep group group_and_count group_by having import
+ DATASET_METHODS = %w'<< add_graph_aliases all avg count cross_join delete distinct
+ each each_page each_server eager eager_graph empty? except exclude filter first for_update from from_self
+ full_join full_outer_join get graph grep group group_and_count group_by having import
inner_join insert insert_multiple intersect interval invert join join_table
- last left_outer_join limit map max min multi_insert naked order order_by
- order_more paginate print qualify query range reverse reverse_order right_outer_join
- select select_all select_more server set set_defaults set_graph_aliases set_overrides
+ last left_join left_outer_join limit lock_style map max min multi_insert naked
+ natural_full_join natural_join natural_left_join natural_right_join order order_by
+ order_more paginate print qualify query range reverse reverse_order right_join right_outer_join
+ select select_all select_hash select_map select_more select_order_map
+ server set set_defaults set_graph_aliases set_overrides
single_value sum to_csv to_hash truncate unfiltered ungraphed ungrouped union unlimited unordered
update where with with_recursive with_sql'.map{|x| x.to_sym}
# Class instance variables to set to nil when a subclass is created, for -w compliance
EMPTY_INSTANCE_VARIABLES = [:@overridable_methods_module, :@db]