Ask Your Question

How can a schema defined in text file be used to create tables in Base ?

asked 2016-09-05 20:08:31 +0100

danushka gravatar image

I like to define db schema in text file in a form of yaml or json or any other reasonable format. How can they be used in Base for importing table definitions ?

i tried to do this with Libre Calc files , but read only issues pops up with them, so gave it up.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-09-06 16:35:42 +0100

Ratslinger gravatar image

There is nothing within Base to do what you are asking. Since Base is only a front end to a database, you could possibly write your own code to deal directly with whatever database you may be using. Within Base you could write macros to read your file and construct and execute the SQL necessary to create the tables.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-09-05 20:08:31 +0100

Seen: 110 times

Last updated: Sep 06 '16