It is essentially the same thing. The only difference is the property name and where you pass it.
Since quick.db uses the sqlite driver by default. You can just pass the filePath object property in the constructor to change where it will save the sqlite file
https://docs.plexidev.org/classes/QuickDB.html#constructor
Here you can see that the constructor takes a IQuickDBOptions which takes a filePath
https://docs.plexidev.org/interfaces/IQuickDBOptions.html#filePath
This will change where quick.db saves the sqlite file allowing you to change where it's located or create multiple if needed