开发者

Can you merge two sqlite databases on the iPhone?

Well the question says it all. Is there an easy way to merge two sqlite databases on the iPhone? Their structure is identical and the primary key is guaran开发者_高级运维teed to be unique across the two databases.

I know you can do a INSERT INTO SELECT, but I was wondering if there is a more elegant solution.


I haven't checked it thoroughly, but maybe you'll find something in: Core Data Model Versioning and Data Migration Programming Guide. It's included in the Xcode documentation, so you probably already have it.

EDIT: I'm just offering a starting point, not a verified solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜