词典有问题,这里是被动,应该是generated from database。
Generate 的用法很简答:
1. verb
To generate something means to cause it to begin and develop.
2. verb
To generate a form of energy or power means to produce it.
这里只是告诉你generate 可以和from 搭配,generate 本身仍然会带宾语的,严格的写法是:generate……from,这个用法在被动语态中用得比较多,比如:
The waste is generated from usage.
举个例子,borrow 是及物动词,它也经常与from 连用,但并不能说borrow from sb , 而应该是borrow sth from sb, 如: I borrowed this book from my friend.