Surya Asriadie

Results 101 comments of Surya Asriadie

> databases that support them like PostgreSQL did you do research other than PostgreSQL? I would love to have this if it's possible

Looks like MySQL driver also support db creation https://github.com/go-sql-driver/mysql/blob/6cf3092b0e12f6e197de3ed6aa2acfeac322a9bb/driver_test.go#L227-L228 for sqlite3, maybe we can just connect to db and schema will be created, for deleting schema, we can delete the...

ah, looks like I miss understood schema for database 🤦 > Maybe for MySQL and sqlite3 use schema as prefix for table names? if there's a way to make this...

sorry for late respond 🙏 what do you think if we use `Table() string` to specify schema? simply returns `.` seems, similar approach is used in activerecord https://stackoverflow.com/a/35945716/7678169

I was thinking we don't have to support compatibility for all adapters, because even if we make it compatible for repository, I don't think there's a way to make it...

> Rel would then send write operations to master and select operations to one of slaves In addition to this, it'll be good if REL supports query option to allow...

my current idea for this is to create a new adapter that can wraps any of existing adapters. the advantage of using adapter is it should be easy to implement,...

because the adapter wrapper also implements Adapter (https://github.com/go-rel/rel/blob/master/adapter.go), we can just add logics to select which original adapter to use? - Ping - ping all adapters - Aggregate - use...

do you have another idea?

Right, should be easy to add that logics And from what I know that query have no effect outside transaction anyway 🤔