How to use daml-on-sql

Hi,

I can see daml has provided this daml-on-sql jar

I just want to know how to use this with the sandbox
Do i need to make a project like

and do some configurations or can I directly use this with quickstart template.
Any reference would be great.

2 Likes

You can find the documentation on daml-for-postgresql here: https://docs.daml.com/daml-driver-for-postgresql/1.8.0/ which supersedes daml-on-sql.

Also if you’re running daml 1.4.0 (or any version pre-1.8.0) then you can also use the now deprecated Daml Sandbox with persistence as described here: https://docs.daml.com/tools/sandbox.html#running-with-persistence

1 Like