Apologies for this necro- post! I'm wrapping my mind around js->clj with regard to callbacks,postgres, clojurescript and nodejs interop, and electron. And I have found very little on the internet for this intersection of interests. This old post was helpful, so fwiw, with regard to:
"2. I couldn't get ((.rows result) 0) to work for result.rows[0]. result.rows worked as-is in cljs but I don't understand why." You have to read off rows as a property, then it works: (get (.-rows result) 0) -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" 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 https://groups.google.com/group/clojurescript.
