keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
bocaj 2016-06-14T20:28:12.000006Z

How can I deref and print app-db from the repl? I'm looking at the place-my-order demo

bocaj 2016-06-14T20:28:41.000007Z

! also, first time I've been able to get through a clojurescript ui tutorial! Thanks for the great documentation

roberto 2016-06-14T20:54:48.000008Z

ah, I remember doing that, but don’t recall off the top of my head. I think it depends if you are using edb

bocaj 2016-06-14T20:55:25.000009Z

@roberto, Yes, using edb. I like the idea. But I'm trying to follow how state is passed around...not global

roberto 2016-06-14T20:55:35.000010Z

haven’t done front end in months, so a little rusty right now.

roberto 2016-06-14T20:55:47.000011Z

so, basically, wherever you initialize your edb instance

roberto 2016-06-14T20:55:52.000012Z

you can switch to that ns, and inspect it

roberto 2016-06-14T20:56:18.000013Z

use the same functions provided by edb to do so, you can also inspect the data structure.

roberto 2016-06-14T20:56:23.000014Z

I remember doing both

bocaj 2016-06-14T20:57:50.000015Z

yes, that's it

bocaj 2016-06-14T20:58:05.000016Z

the demo would be

client.edb/dal

roberto 2016-06-14T20:58:07.000017Z

yeah, so when you initialize your store, it is accessible from the ns where you did that

roberto 2016-06-14T20:58:32.000018Z

then you can just inspect it or use the edb functions to query it

bocaj 2016-06-14T21:01:17.000019Z

perfect. I had misnamed the :id function for the edb

edb/make-dbal {:ent {:id :ent-id}}

roberto 2016-06-14T21:01:43.000020Z

🙂