fchaose / qeephp

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

uniqueness 插件应该支持忽略特定值 #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
在一些情况下,开发者希望某个属性值是不重复,但如果没��
�提供这个属性值,则不
检查是否重复。

例如通过 name 属性来查找 page 对象,name 
属性必须是不重复的。不过对于有些
page 对来说,name 是可选的,此时 uniqueness 应该在 name 
为空值时跳过检查。

Original issue reported on code.google.com by dualf...@gmail.com on 22 Feb 2009 at 2:48