![]() ![]() ![]() SQL string fragment used for faster DELETE statement creation when deleting/destroying model instances, or nil if the optimization should not be used. These are merged with the options given to set_fields. The default options to use for Model#set_fields. The Module subclass to use for dataset_module blocks. Stored so that if the model’s dataset is changed, it will be extended with all of these modules. This is required for reloading them correctly (avoiding the superclass mismatch).Īrray of modules that extend this model’s dataset. Whether to cache the anonymous models created by Sequel::Model(), true by default. Class methods for Sequel::Model that implement basic model functionality.Īll of the following methods have class methods created that send the method to the model’s dataset: all, as_hash, avg, count, cross_join, distinct, each, each_server, empty?, except, exclude, exclude_having, fetch_rows, filter, first, first!, for_update, from, from_self, full_join, full_outer_join, get, graph, grep, group, group_and_count, group_append, group_by, having, import, inner_join, insert, intersect, invert, join, join_table, 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, offset, order, order_append, order_by, order_more, order_prepend, paged_each, qualify, reverse, reverse_order, right_join, right_outer_join, select, select_all, select_append, select_group, select_hash, select_hash_groups, select_map, select_more, select_order_map, server, single_record, single_record!, single_value, single_value!, sum, to_hash, to_hash_groups, truncate, unfiltered, ungraphed, ungrouped, union, unlimited, unordered, where, where_all, where_each, where_single_value, with, with_recursive, with_sql ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |