Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Quintisimo
Posts
Comments
DT
Drizzle 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