What's the difference between using DatabaseConfig and Database in Slick?
问题 I was reading about DatabaseConfig in slick's documentation: On top of the configuration syntax for Database , there is another layer in the form of DatabaseConfig which allows you to configure a Slick driver plus a matching Database together. This makes it easy to abstract over different kinds of database systems by simply changing a configuration file . I don't get this part, how DatabaseConfig makes the underlying database system more abstract than the Database approach? Suppose, i'm using