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" 

sources: https://github.com/satyan/sugar/issues/86


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -