I'm doing an implementation of a database in my Android application and I've noticed that all the tutorials I've seen, always call the id of tables _id
or call an interface called BaseColumns that gives the name in string _id
.
I am not using the name _id
for all the id of the tables in my database. An example of an id of my BD would be idPedidos
because my table is called Pedidos
, plus most are AUTO_INCREMENT
.
My question is if I'm really working in vain not to put the name _id
to the id of my tables and if so, why does this happen if it's just a string name?
Thanks in advance.