insert()与save()区别

若存在主键:insert()不做操作,且insert()提示错误save()改变原来的内容为新内容。

若不存在主键:相同。

posted on 2014-03-20 10:52  奈文·摩尔  阅读(644)  评论(0)    收藏  举报