# File lib/merb-cache/cache-store/database-sequel.rb, line 41 def self.cache_set(key, data, expire = nil, get = true) attributes = {:ckey => key, :data => data, :expire => expire } if get entry = self.filter(:ckey => key).single_record(:limit => 1) entry.nil? ? self.create(attributes) : entry.set(attributes) else self.create(attributes) end true end