adamlofts / mysql1_dart

MySQL driver for Dart
Other
134 stars 45 forks source link

Are you interested in helping porting PHP eloquent to dart? #155

Open insinfo opened 10 months ago

insinfo commented 10 months ago

@adamlofts @gmpassos I'm porting Eloquent 5.2 to Dart and for that I implemented a PostgreSQL driver in pure Dart called "dargres" and I wanted to know if you are interested in enabling MySQL support in this port that I'm doing

https://pub.dev/packages/dargres https://github.com/insinfo/pg8000

https://pub.dev/packages/eloquent https://github.com/insinfo/eloquent_dart

As I'm working on porting applications made in PHP that use eloquent and PostgreSql to dart, I had to port eloquent, at the moment it already works well with PostgreSQL for the query builder but I would love to have support for MySQl working too

I started using eloquent_dart in a production application, apparently everything is fine

https://laravel.com/docs/5.2/eloquent

insinfo commented 10 months ago

now working with experimental dargres, postgres_fork (2.7), postgres (3.0) and mysql_client (0.0.27) drivers

gmpassos commented 10 months ago

Take a look at:

https://github.com/Colossus-Services/bones_api/blob/master/lib/src/bones_api_entity_db_mysql.dart https://github.com/Colossus-Services/bones_api/blob/master/lib/src/bones_api_entity_db_postgres.dart

https://github.com/Colossus-Services/bones_api/blob/master/lib/src/bones_api_condition.dart https://github.com/Colossus-Services/bones_api/blob/master/lib/src/bones_api_condition_sql.dart

gmpassos commented 10 months ago

I don't have time for the next 90 days, but the project is interesting. I will try yo look the code and understand what is needed. Regards.