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.
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.
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