android - Does Sugar ORM take serialized name for the column name? -
i want know if sugar orm take serialized name column name in database. eg..
in pojo,
public class mypojo implements serializable{ @serializedname("id") string program_id; ..... }
what sugar orm take columnname, "id" or "program_id" ?
keep in mind @serializedname
mapping between gson , objects. underlying sqlite database sugar manages, still have correspondence:
string program_id ----> "program_id"
Comments
Post a Comment