Method: Card::Query::CardQuery.viewable_sql
- Defined in:
- lib/card/query/card_query.rb
.viewable_sql ⇒ Object
By default a query returns card objects. This is accomplished by returning a card identifier from SQL and then hooking into our caching system (see Card::Fetch)
23 24 25 |
# File 'lib/card/query/card_query.rb', line 23 def self.viewable_sql Card::Query::SqlStatement.new.("cards") end |