What kind of arguments can be the primary key of sqlite database table? Does it need to be an integer argument with name "_id" with auto increment, or can I choose some other names, and types for that?
As far as I know, you can make any column name a primary key, and it does not have to be auto increment. But having it as _id with auto increment does have it's advantageous, like most of androids list adapters expect a column with that name to work properly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.