Comparison between adodb and adodb_lite

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.