开发者

cakephp bindmodel limit problem db2

开发者 https://www.devze.com 2023-03-06 21:47 出处:网络
i encountered an error while binding a model with a hasMany relation. while binding, i also set the limi开发者_如何学运维t to \'5\'. unfortunately when the query is run, the limit turns to 0 (e.g. FET

i encountered an error while binding a model with a hasMany relation. while binding, i also set the limi开发者_如何学运维t to '5'. unfortunately when the query is run, the limit turns to 0 (e.g. FETCH FIRST 0 rows). anyone had similar problems?


i think you have to put your query exactly after your bindmodel statement

0

精彩评论

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