average_time

Declaration

average_time (name: COLUMN; value: STRING): INTEGER

Description

Average time spent on the items in the current query whose column matches the value given.

See Also

database functions
Database

Example

script get_time is
  load_query ('questions')
  sec1_time   :=   average_time ('section', '1')
    -- average time spent on questions in section 1
end