Is there a full-proof way to query a Boolean Field?

For Boolean matching I have been sending anything representative of
true or false as string, "t" here for PostgreSQL
<http://www.postgresql.org/docs/8.1/static/datatype-boolean.html>:

beerlist = beers.get_list(domestic__exact="t");

Alhtough, I am unsure if this will work if I switch Database platforms.
Is there a better way?

Thanks, Brian Ray
bray sent com
http://brianray.chipy.org

Reply via email to