lib/database_utils.rb
Returns an array with all names of the classes of the database. Uses a cached version if possible.
  
Parameters: system_classes: false|true, requery: false|true
Returns an array with all names of the classes of the database. Uses a cached version if possible.
Parameters: system_classes: false|true, requery: false|true
Returns an array with all names of the classes of the database . Uses a cached version if possible . Parameters : system_classes : false|true requery : false|true
def database_classes system_classes: nil, requery: false
    class_hierarchy system_classes: system_classes 
    all_classes = get_classes('name').map(&:values).sort.flatten
    all_user_classes =  all_classes - system_classes()
    all_user_classes.each{|x| ActiveOrient.database_classes[x] = "unset" unless ActiveOrient.database_classes.has_key?(x) }
    ActiveOrient.database_classes.keys  
  end
def database_classes system_classes : nil , requery : false class_hierarchy system_classes : system_classes all_classes = get_classes ( 'name' ) . map ( & :values ) . sort . flatten all_user_classes = all_classes - system_classes ( ) all_user_classes . each { | x | ActiveOrient . database_classes [ x ] = "unset" unless ActiveOrient . database_classes . has_key? ( x ) } ActiveOrient . database_classes . keys end
Returns an array with all names of the classes of the database.
Returns an array with all names of the classes of the database .
#requery: true # return an array of database-classnames
system_classes
<not_specific>
requery
<not_specific>