Red icon indicating copy to clipboard operation
Red copied to clipboard

Create a Red::Driver::MySQL

Open FCO opened this issue 7 years ago • 7 comments

Use the same base as Red::Driver::SQLite

FCO avatar Oct 02 '18 16:10 FCO

Actually now that https://modules.perl6.org/dist/DB::MySQL:cpan:CTILMES exists it would be easier to make it based on the Pg driver. There may be a few SQL translation differences however,

jonathanstowe avatar Feb 04 '19 09:02 jonathanstowe

Does it make sense to exist R::D::DBIish::Pg, R::D::DB::Pg, R::D::DBIish::MySQL, R::D::DB::MySQL, R::D::DBIish::SQLite and T::D::DB::SQLite?

FCO avatar Feb 04 '19 13:02 FCO

I was thinking this before, people may have compelling reasons for using one family of Database modules or the other, so yes. Except for the actuial interfaces used to perform queries, there should be a fair amount of commonality.

jonathanstowe avatar Feb 04 '19 14:02 jonathanstowe

Also supporting both DB::Pg and DBDish::Pg would let non Linux users have an option thus getting around #64

jonathanstowe avatar Feb 05 '19 19:02 jonathanstowe

I still don’t get that issue, once I do not use Linux at home... everything works on my Mac...

FCO avatar Feb 05 '19 22:02 FCO

I think I found that it didn't work on FreeBSD but I'll check again.

jonathanstowe avatar Feb 06 '19 07:02 jonathanstowe

I never tried on FreeBSD...

I was thinking... we shouldn’t require SQLite and DB::Pg... if the user only want to use one of them, we shouldn’t require both... so, should we require no one?

FCO avatar Feb 06 '19 12:02 FCO