Blank

Results 4 comments of Blank

I am going to close this one. Please see https://github.com/Blank-Xu/sqlx-adapter/pull/32

This package is to implement the interfaces for Casbin adapter like ``` _ persist.Adapter = new(Adapter) _ persist.FilteredAdapter = new(Adapter) _ persist.BatchAdapter = new(Adapter) _ persist.UpdatableAdapter = new(Adapter) ``` From...

I got all your points now. Actually I had thought to add `UNIQUE INDEX` about this when I write the SQL like https://github.com/Blank-Xu/sql-adapter/blob/master/constants.go#L110 . Even the index could be changed...

Not sure if it is a good to add `UNIQUE INDEX`. Please check https://github.com/Blank-Xu/sql-adapter/pull/13.