更新类型定义,优化获取表架构的返回值
This commit is contained in:
@@ -10,4 +10,4 @@ import { writeFileSync } from 'node:fs';
|
||||
// writeFileSync('table-metadata.json', JSON.stringify(res, null, 2));
|
||||
|
||||
const res2 = await nocoApi.record.getTableSchema()
|
||||
console.log(util.inspect(res2, { depth: null, colors: true }))
|
||||
console.log(util.inspect(res2.data.schema, { depth: null, colors: true }))
|
||||
Reference in New Issue
Block a user