checklist = model("user_checklist").findAll(include="tb_machine_checklist");
以上是我用於從名爲user_checklist的表中獲取記錄的查詢,它與名爲tb_machine_checklist的表相關。CFWheels:Model FindAll()在相關表名中附加字母「s」
現在有一個名爲「tb_machine_checklist」的表,但它給了我一個錯誤說:
The "tb_machine_checklists" table could not be found in the database.
爲什麼當我沒有指定時添加了「s」?