DatabaseStream API for creating abstract, portable and functional Node streams for accessing databases