Quintisimo
Quintisimo
DTDrizzle Team
Created by H on 7/28/2024 in #help
How can we get all tables names
This should work:
import * as schema from './schema';

const names = Object.keys(schema);

console.log(names);
import * as schema from './schema';

const names = Object.keys(schema);

console.log(names);
6 replies