let constructor take an instance of forkdb