摘要: 查模型的列名:select column_name from information_schema.columns where table_name= 'your_table';应用:1. 给django的模型自动生成模板:select ''||replace(column_name,'_',' '... 阅读全文
posted @ 2014-08-11 17:19 tommy.yu 阅读(168) 评论(0) 推荐(0) 编辑