Comparison between adodb and adodb_lite
Author: Happy with the wind
After the birth of adodb, I got a lot of PHPer's affirmation and support. I don't know when I came up with adodb_lite, which is a scale-down version of adodb and claims that it does not affect the basic functions of the original version. Out of N kinds of impulse, we made some simple comparisons between the two types, and the results were not funny. The comparison result is as follows:
Adodb_lite is missing:
1. FetchNextObject (); // The effect is not great.
2. DBDate (); // There is no way to convert the date!
3. CacheSelectLimit (); // This is not supported, and common MSSQL statements are not supported!
4. RecordCount () and RowCount () // are synonymous functions, but only the former is supported;
5. cache is not supported;
6. Transaction processing is not supported.
Summary: adodb_lite is a database operation class at most, and portability becomes empty talk. It is a waste of space to put the operation files of N kinds of databases in the folder. Advanced features are castrated!
Today, I went down to test the latest version 1.12 on the official website of adodb_lite. Even those I tested above are still not talking about, and there are new problems. SetFetchMode () is not supported (), forced to use only the subscript value, not the field name as the subscript. So disappointing.
SetFetchMode (): to open the pear Module, remove the comment of the last line from the module config file.
Alternatively, you can set the global variable to ADODB_FETCH_ASSOC without calling the pear Module.