search

Home  >  Q&A  >  body text

objective-c - 类似微信单聊的功能,想把聊天记录直接存入Sqlite,怎么建表.

1.想做微信单聊(即时通讯一对一的聊天方式)类似的功能,想把聊天的记录直接存入数据库.但是不太清除怎么建表,是每个聊天对象都建立一个新表吗?

有没有大神做过类似的案例,请指教一下

Thanks advance!

ringa_leeringa_lee2757 days ago613

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