ã¿ãªããï¼Realm使ã£ã¦ãã¾ããï¼ ããã§ã¯Realmãªãã¸ã§ã¯ãéã®1対å¤ã®é¢ä¿ã®è¨è¿°ã«ã¤ãã¦èå¯ãããã¨æãã¾ãã Realmãªãã¸ã§ã¯ãã§1対å¤ã®é¢ä¿ã表ç¾ããã«ã¯2ã¤ã®æ¹æ³ãããã¾ãã ã·ã³ãã«ãª1対å¤é¢ä¿ RealmList ã·ã³ãã«ãª1対å¤é¢ä¿ ä¾ãã°ããããªãã¸ã§ã¯ããå¿ ãè¤æ°ã®ãªãã¸ã§ã¯ããå å ãããããªãã·ã³ãã«ãªä¸å¯¾å¤ã®é¢ä¿ã®å ´åãSQLã®ãã¼ãã«ã¨åãããã«è¦ªãªãã¸ã§ã¯ãã¸ã®åç §ãæã¤ãã¨ããå½¢ã§è¡¨ç¾ããäºãã§ãã¾ãã public class BookShelf extends RealmObject { @PrimaryKey private String id; @Ignore private List<Book> books; public String getId() { return id; } public void setId(String id)
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}