arraydb icon indicating copy to clipboard operation
arraydb copied to clipboard

suggestion about a sentence

Open marslei opened this issue 12 years ago • 2 comments

hi Mustafa Dokumacı, I am reading https://github.com/mstdokumaci/arraydb/tree/master/doc at this moment. When i come to this snipt code, i got pulzz 'post'=>array( 'conf'=>array('len'=>10), 'fields'=>array( 'text'=>array('len'=>200), 'view_count'=>array('type'=>'numeric', 'len'=>5) // default field type is text, define if numeric ) ) define if numeric Is there any mistake about this sentence. Do you want to express that view_count field is defined as number? So, my suggestion is define it as numeric.

Best Regards!

Mars Lei www.leicixiang.cn

marslei avatar Oct 17 '12 01:10 marslei

i just meant to tell that you don't need to define type of every field. text type is defined by default. you only need to define type, when you need a numeric field. maybe i am not good in English.

mstdokumaci avatar Oct 17 '12 07:10 mstdokumaci

I got it.

marslei avatar Oct 17 '12 07:10 marslei