简体   繁体   中英

Astyanax Composite Column

I am looking for a data model look like this. In this data model i am using composite key. I know how to make a composite key. But somehow in this case im unable to do.

User_Keys_By_Last_Name = {
  "Engineering" : {"anderson", 1 : "ac1263", "anderson", 2 : "724f02", ... }, 
  "Sales" : { "adams", 1 : "b32704", "alden", 1 : "1553bd", ... }, 
}

I want to do this in Astyanax. Please suggest me how to do it.

Thanks in Advance

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM