A simple structure used for the values in the StatementCache's hash. It does not hold the related SQL, since that is used as the key for the StatementCache's hash.
Used when adding entries to the cache, just sets their id. Uses 0 for num_executes since that is incremented elsewhere. Does not set last_seen since that is set elsewhere to reduce branching.
# File lib/sequel/extensions/pg_statement_cache.rb, line 59 def initialize(cache_id) @num_executes = 0 @cache_id = cache_id end
Generated with the Darkfish Rdoc Generator 2.