lib/rest/operations.rb
# Used to count the Records in relation of the arguments
#
# Overwritten by Model#Count
Used to count the Records in relation of the arguments
Overwritten by Model#Count
Used to count the Records in relation of the arguments Overwritten by Model#Count
def count **args
    logger.progname = 'RestOperations#CountRecords'
    query = OrientSupport::OrientQuery.new args
    query.projection << 'COUNT (*)'
    result = get_records raw: true, query: query
    result.first['COUNT'] rescue  0  
  end
def count ** args logger . progname = 'RestOperations#CountRecords' query = OrientSupport :: OrientQuery . new args query . projection << 'COUNT (*)' result = get_records raw : true , query : query result . first [ 'COUNT' ] rescue 0 end
Used to count the Records in relation of the arguments
Overwritten by Model#Count
Used to count the Records in relation of the arguments Overwritten by Model#Count
# return_value
args
<not_specific>