casbin-cpp icon indicating copy to clipboard operation
casbin-cpp copied to clipboard

how to persist polices with PostgreSQL

Open xhqsession opened this issue 2 years ago • 4 comments

Seems the casbin could be save the policies to the PostgreSQL via Go lang or Java, however, how to do it with C++? Are the any adapters?

xhqsession avatar Dec 15 '23 04:12 xhqsession

@EmperorYP7 @sheny1xuan @cs1137195420

casbin-bot avatar Dec 15 '23 04:12 casbin-bot

@xhqsession what C++ PostgreSQL DB driver or ORM do you use?

hsluoyz avatar Dec 15 '23 11:12 hsluoyz

@hsluoyz libpqxx

xhqsession avatar Dec 19 '23 08:12 xhqsession

Hi, is there any update on this? I would also like to integrate Casbin-cpp with Postgresql using libpqxx. Is there any feature listing somewhere for the requirements of a proper connection between Casbin-cpp services and Postgresql?

faizol avatar Feb 23 '24 08:02 faizol