You need to ask questions before accusing people.  That is plain outright 
rude.  

See, there are obviously multiple websites.  Did you know that?  I spend 
lots of time reviewing here:

http://sequel.jeremyevans.net/rdoc/files/doc/dataset_filtering_rdoc.html

So have some respect.  I'd love to not wait for anybody to get back to me.  

Nowhere on those pages, does it say anything about not returning empty 
fields.  

DBS[:searches_t].
    where{(:search_phrase != nil) & (:client_ip != '192.168.1.4')}.
    select(:search_phrase, Sequel.cast(:creation_date, 
DateTime).as(:creation_date), :search_type, :result_count).
    reverse(:creation_date).
    limit(d).sql

Doesn't resolve properly.  Nowhere in the documents does it say anything 
about this:

SELECT "search_phrase", CAST("creation_date" AS timestamp) AS 
"creation_date", "search_type", "result_count" FROM "searches_t" WHERE true 
ORDER BY "creation_date" DESC LIMIT 30


"WHERE true"?  

Show me where it's explained.  If you can't, then please understand this is 
a forum for people looking for answers.  If you don't like it, then you 
don't have to be here.  Maybe you should read the docs.  The question is 
valid.  Maybe you should be respectful and read the question.  

>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/fa442373-1a81-4267-9dbe-361a16829e6d%40googlegroups.com.

Reply via email to