Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between _id and thread_id?

Tags:

android

I find there are two fields _id and thread_id in SMS database, What is the difference between _id and thread_id ? If I want to delete a sms by ID, which field should I use? _id or thread_id ? Thanks!

like image 751
HelloCW Avatar asked Jan 27 '26 14:01

HelloCW


1 Answers

the _id is the primary autoincrement key for the sms ContentProvider, the thread_id is the id of a particular conversation

like image 155
Blackbelt Avatar answered Jan 30 '26 03:01

Blackbelt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!