denodb icon indicating copy to clipboard operation
denodb copied to clipboard

Create models/table then sync to database on demand

Open calebeaires opened this issue 5 years ago • 0 comments

I take a look at the documentation that help us to understand how to create a table using the sync method. The table is crated based on a class model, this is very clearly.

Is the some way to create tables and sync it on the demand/runtime on just adds some object?

// Current
db.link([Flight]);

// Feature request
db.link([{
  fields: {
      // ...
  }
}]);

calebeaires avatar Oct 12 '20 00:10 calebeaires