search

Home  >  Q&A  >  body text

objective-c - Similar to the function of WeChat single chat, if you want to store the chat records directly into Sqlite, how to create a table.

1. I want to have a function similar to WeChat single chat (one-to-one instant messaging), and I want to store the chat records directly into the database. But I am not sure how to create a table. I want to create a table for each chat partner. New watch?

Have any experts done similar cases? Please give us some advice

Thanks advance!

ringa_leeringa_lee2836 days ago665

reply all(1)I'll reply

  • 某草草

    某草草2017-05-02 09:25:53

    A logical table can be divided into tables at the data level or physical level, and it just needs to be encapsulated. . . Then record who sent it to whom, content and other information.

    reply
    0
  • Cancelreply