Class: Trix51::Table

Inherits:
TupleSet show all
Defined in:
lib/trix51db.rb

Overview

Class representing a table

Instance Attribute Summary

Attributes inherited from TupleSet

#classname, #dbref, #indices, #tablename

Instance Method Summary collapse

Methods inherited from TupleSet

#[], #all, #args_to_hash, #build_sorted_keys, #build_temp_idx, #check_required_fields, #clone_structure, #column_add, #column_remove, #column_update, #comparison, #convert_type, #count, #create_index, #default, #delete, #delete_hash, #distinct, #dump, #dump_filtered, #each, #each_key, #each_pair, #each_record, #each_value, #empty, #empty_rec, #eval_in_context, #exists?, #find_or_create, #find_or_create_seq, #first, #get_hash_key, #group, #group_key, #having, #hint_criteria_to_operand_target, #hint_matches_by_index, #hint_matches_by_recordscan, #index_add, #index_build, #index_chk_unique, #index_chk_unique_update, #index_remove, #index_update, #indexed?, #indices_load, #indices_save, #init_record, #insert, #insert_hash, #key?, #key_fields, #length, #limit, #meta, #meta=, #meta_prefix, #meta_record?, #method_missing, #push, #random, #record_keys, #record_prefix, #select, #select_hash, #seq_prefix, #seq_record?, #size, #sort, #sorted_keys, #structure, #table?, #table_record?, #tuple_by_key, #unique?, #update, #update_hash

Constructor Details

#initialize(tablename, dbref) ⇒ Table

Create an instance of the table class



1825
1826
1827
# File 'lib/trix51db.rb', line 1825

def initialize( tablename, dbref )
  super( tablename, dbref, {} )
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Trix51::TupleSet