microlight icon indicating copy to clipboard operation
microlight copied to clipboard

Create tables for either MySQL OR SQLite

Open moonfloof opened this issue 6 years ago • 3 comments

Currently, table creation SQL syntax is only specified for SQLite, however if Microlight is to support MySQL as well (and even PostgreSQL?), the syntax needs to support both formats.

moonfloof avatar Feb 17 '19 21:02 moonfloof

Would be nice to have backend plugins to switch between mysql, sqlite or write custom functions to load / save / update data? For example to call a framework function to do the job instead of just talk to a database backend directly?

pwFoo avatar Jun 08 '19 14:06 pwFoo

Ooh, that is something I hadn't considered. There is a lot of code I want to change that I wrote last year, and that could possibly be part of it!

moonfloof avatar Jun 08 '19 16:06 moonfloof

Could be a way to use your project to include to a framework / cms / website... Don't know how good / easy that would work. But should be good to consider...

pwFoo avatar Jun 08 '19 16:06 pwFoo