Which of the following is an example of a database connection that needs to be created once at the beginning of a script and then used throughout its code?
A. Model-view-controller
B. Factory pattern
C. ActiveRecord
D. Singleton
Explanation:
One Comment on “Which of the following is an example of a database connection that needs to be created once at the beginning o”
I have the same idea. D
0
0