ttgive / qeephp

Automatically exported from code.google.com/p/qeephp
0 stars 0 forks source link

数据库适配器取得字段元信息时,应该根据字段类型对字段默认值转换类型 #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
例如一个字段的类型是 int,其默认值是 
0,则应该将默认值强制转行为整数(int)。

这样在后续的操作中,应用程序和框架可以正确处理字段的��
�认值。

Original issue reported on code.google.com by dualf...@gmail.com on 2 May 2008 at 6:09

GoogleCodeExporter commented 9 years ago
引入了 QDB_ActiveRecord_Abstrat::_typed() 方法对属性进行强制转义

Original comment by dualf...@gmail.com on 25 Aug 2008 at 9:40