Answer the question
In order to leave comments, you need to log in
Sequence of methods when using the chaining method?
Greetings, I ask for help in understanding the chaining method`a. It is important for me to understand how to implement a convenient query sequence, for example:
Developing a class to work with a database. At the output, we want to be able to use something like this format:
$db->table('tableName')->select(...........)->where(........)->fetch('assoc');
$db->table('tableName')->select(...........)->where(........)->fetch('assoc')->run();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question