â [php] DB_DataObjectã§whereAdd()ãã¦update() DB_DataObject 1.7.13ã§ã UPDATE person SET removed=1 WHERE age = 21 ã®ãããªSQLãå®è¡ãããã¨ã㦠$person = DB_DataObject::factory('person'); $person->whereAdd('age = 21'); $person->removed=1; $person->update(); ã®ãããªã³ã¼ããæ¸ããã¨ãã«ãUPDATEãå®è¡ãããå ´åã¨ãããªãå ´åããã£ãã ã©ãããageãpersonãã¼ãã«ã®ä¸»ãã¼ã§ããã°åããããã§ãªãå ´åã¯åããªãããã ã åããªãå ´åã®ã¨ã©ã¼ã調ã¹ãã¨ã DB_DataObject Error: update: trying to perform an updat
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}