PostgreSQL 獲取表字段信息的語句

好不容易搞成,作個筆記orm 寫道 SELECT col_description(a.attrelid,a.attnum) as comment,format_type(a.atttypid,a.atttypmod) as type,a.attname as name, a.attnotnull as notnull FROM pg_class as c,pg_attribute as a whe
相關文章
相關標籤/搜索