Table Creation With Collections

已查看 8 次
跳至第一个未读帖子

m...@greencowproductions.com

未读,
2014年5月1日 14:41:182014/5/1
收件人 clojure-...@googlegroups.com
Your documentation on table creation is quite nice, but I don't see an example of how to create a table with a collection type (e.g., a set).  How is that done?
-thanks

Alex Petrov

未读,
2014年5月1日 15:40:052014/5/1
收件人 m...@greencowproductions.com、clojure-...@googlegroups.com
Hi Max,

I’m sorry about that. 

You can find a couple of examples in tests for now:


I do not think tests are “good source” of documentation and one can expect people to check tests, but somehow I’ve missed this section while writing documentation. I will check into it as soon as possible.

Thanks for noticing!



On 1 May 2014 at 21:34:18, m...@greencowproductions.com (m...@greencowproductions.com) wrote:

Your documentation on table creation is quite nice, but I don't see an example of how to create a table with a collection type (e.g., a set).  How is that done?
-thanks
--
You received this message because you are subscribed to the Google Groups "Cassaforte, a Clojure client for Apache Cassandra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-cassan...@googlegroups.com.
To post to this group, send email to clojure-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-cassandra/a3a9ef81-2f90-4202-80db-630f6508aaea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Petrov

未读,
2014年5月2日 02:54:122014/5/2
收件人 Max Bachrach、clojure-...@googlegroups.com
It’s the same thing, essentially :) set-type is just a helper method)

On 1 May 2014 at 23:54:23, Max Bachrach (m...@greencowproductions.com) wrote:

Thanks.  Shortly after posting the comment, I found that I was able to create a table using :emails :set<text>.  In your test, you have :test_set (set-type :varchar). Is one approach better than the other?

-Max

Max Bachrach

未读,
2014年5月1日 17:54:222014/5/1
收件人 Alex Petrov、clojure-...@googlegroups.com
Thanks.  Shortly after posting the comment, I found that I was able to create a table using :emails :set<text>.  In your test, you have :test_set (set-type :varchar). Is one approach better than the other?

-Max

On May 1, 2014, at 2:40 PM, Alex Petrov <oleksand...@gmail.com> wrote:

回复全部
回复作者
转发
0 个新帖子