直接用Superdb提供的静态方法
/__xiaotong__/code/lovephp.lovephp/web/__project__/skel/modulecode/example_index/example_index.php(line:25)
Array(6)
text_serializedString(0)[emptyString]
用Superdb提供的Database对象(带缓存),此种情况依然会自动调整表结构和同步触发器,同时会自动转换db_table_serializedfileds定义的字段
/__xiaotong__/code/lovephp.lovephp/web/__project__/skel/modulecode/example_index/example_index.php(line:34)
Array(6)
varchar_0String(16)ejiabhcfgd497273
text_serializedArray(3)
0String(16)fedgbhajic187331
1String(16)cfehagjibd870438
2String(16)gifbjhaedc841994
自行new一个Database对象(不带缓存),如果没有table_config参数的话,并不会自动调整表结构和同步触发器
/__xiaotong__/code/lovephp.lovephp/web/__project__/skel/modulecode/example_index/example_index.php(line:43)
Array(6)
text_serializedNull[null]
数据库查询(db)