>'f' is a symbol, not a string or a character. Try: {:is_top_winner >"f"} or {:is_top_winner \f}
Wow. Thanks. I guess I'm used to Ruby/PHP/Javascript where single quote and double quote both produce strings. Thanks. On Saturday, November 10, 2012 12:46:32 PM UTC-5, Sean Corfield wrote: > > On Sat, Nov 10, 2012 at 9:20 AM, larry google groups > <lawrenc...@gmail.com <javascript:>> wrote: > > In MySql I have a table with a field called is_top_winner and this is > > defined as char(1). In Clojure I have this function: > > > > (defn downgrade-everyone [db] > > "2012-11-10 - Let's start by saying no one is a top expert. In a later > > step we will upgrade those users who are top winners." > > (sql/with-connection db > > (sql/update-values > > :sf_guard_user_profile > > [true] > > {:is_top_winner 'f' }))) > > 'f' is a symbol, not a string or a character. Try: {:is_top_winner > "f"} or {:is_top_winner \f} > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > World Singles, LLC. -- http://worldsingles.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en