On Mar 10, 2013, at 9:28 PM, Ian Kelly <[email protected]> wrote:

> Digging into the code a bit further, I see that the postgresql backend
> accomplishes this by tacking '::text' onto the end of the field name
> when the lookup is a string-based lookup like startswith.  Oracle
> could probably do something similar with the TO_CHAR function.

Yep… explicitly convert the date column to a varchar and apply the like clause 
to it. And you are done.

That said… from a db perspective… if you have more than an handful of rows… 
this is not going to fly much…  just saying…


-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to