update方法的第三个和第四个参数学习的时候书上讲的意思看不懂,查资料也没有特别说明,希望能详细的解释一下。
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
These two parameters identify the updated record. You can think of this record as being updated only when this condition is established.
If you want to modify the grades of a student named zhangsan, you can write update('score',values,'name=?','zhangsan');
update('score',values,'name=?','zhangsan');
These two parameters identify the updated record. You can think of this record as being updated only when this condition is established.
If you want to modify the grades of a student named zhangsan, you can write
update('score',values,'name=?','zhangsan');