Quantcast
Channel: How to store array of objects in Cassandra - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Manish Kumar Bohra for How to store array of objects in Cassandra

$
0
0

you can create UDT type:

CREATE TYPE people (
    name text,
    address
);

and now declare your field like this

people set<frozen <people>>

I hope it's help you


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>