Cdbcriteria detailed Instructions

Source: Internet
Author: User

I small rookie one, in order to self-study and exchange PHP (Jquery,linux,lamp,shell,javascript, Server) a series of knowledge, small rookie created a group. People who wish to visit this blog can come in and talk. Seek common development. Build a platform.

My blog also has a lot of technical documents, I hope to provide you with some help. Only for communication technology.


QQ Group: 191848169 qq:450225664


Cdbcriteria

Represents a standard query, such as condition, order by, and limit.
It is a data wrapper object, equivalent to the various parts of the SQL statement carrier


Cdbcriteria Public properties:

Cdbcriteria.alias
    string    The type table alias.
Cdbcriteria.condition
    string     Type query criteria
Cdbcriteria.distinct
    Boolean     type selects only the data rows that are not identical
Cdbcriteria.group
    string     How types are grouped query results
Cdbcriteria.having
    string     type as a condition of the group-by clause
Cdbcriteria.index
    string     type as an index to the query result array
Cdbcriteria.join
    string type How to join other tables
Cdbcriteria.limit
    integer type to return the maximum record value
Cdbcriteria.offset
    integer type to return an offset starting from 0
Cdbcriteria.order
    string     Type How the results are sorted
Cdbcriteria.paramcount
integer type Global register for domain name binding
Cdbcriteria.param
    Array     type query parameter list with parameter placeholder as index
Cdbcriteria.scopes
    Mixed     Type defines multiple query criteria, which are combined
Cdbcriteria.select
    Mixed     Type the column that is selected
Cdbcriteria.with
    Mixed     query criteria associated with the type


Cdbcriteria.addbetweencondition ()
Add a between condition to the condition attribute
Cdbcriteria.addcolumncondition () The condition of attaching a matching column value
Cdbcriteria.addcondition () attaching a condition to a condition that already exists

Cdbcriteria detailed Instructions

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.