Sha256: 6bcf58b7682877011724fe4c62adf3641b0f184ac49d987401117a40780e116e
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
module ThinkingSphinx::SphinxQL mattr_accessor :weight, :group_by, :count def self.functions! self.weight = 'weight()' self.group_by = 'groupby()' self.count = 'count(*)' end def self.variables! self.weight = '@weight' self.group_by = '@groupby' self.count = '@count' end self.functions! end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinking-sphinx-3.1.1 | lib/thinking_sphinx/sphinxql.rb |
thinking-sphinx-3.1.0 | lib/thinking_sphinx/sphinxql.rb |