Search for query

  1. Search 7.x-3.x for query
  2. Other projects
Title Object type File name Summary
views_plugin_query_default::$table_queue property plugins/views_plugin_query_default.inc A list of tables in the order they should be added, keyed by alias.
views_plugin_query_default::$where property plugins/views_plugin_query_default.inc An array of sections of the WHERE query. Each section is in itself
an array of pieces and a flag as to whether or not it should be AND
or OR.
views_plugin_query_default::add_field function plugins/views_plugin_query_default.inc Add a field to the query table, possibly with an alias. This will
automatically call ensure_table to make sure the required table
exists, *unless* $table is unset.
views_plugin_query_default::add_groupby function plugins/views_plugin_query_default.inc Add a simple GROUP BY clause to the query. The caller is responsible
for ensuring that the fields are fully qualified and the table is properly
added.
views_plugin_query_default::add_having function plugins/views_plugin_query_default.inc Add a simple HAVING clause to the query. The caller is responsible for
ensuring that all fields are fully qualified (TABLE.FIELD) and that
the table and an appropriate GROUP BY already exist in the query.
views_plugin_query_default::add_orderby function plugins/views_plugin_query_default.inc Add an ORDER BY clause to the query.
views_plugin_query_default::add_relationship function plugins/views_plugin_query_default.inc A relationship is an alternative endpoint to a series of table
joins. Relationships must be aliases of the primary table and
they must join either to the primary table or to a pre-existing
relationship.
views_plugin_query_default::add_signature function plugins/views_plugin_query_default.inc Add a signature to the query, if such a thing is feasible.
views_plugin_query_default::add_table function plugins/views_plugin_query_default.inc Add a table to the query, ensuring the path exists.
views_plugin_query_default::add_where function plugins/views_plugin_query_default.inc Add a simple WHERE clause to the query. The caller is responsible for
ensuring that all fields are fully qualified (TABLE.FIELD) and that
the table already exists in the query.
views_plugin_query_default::adjust_join function plugins/views_plugin_query_default.inc Fix a join to adhere to the proper relationship; the left table can vary
based upon what relationship items are joined in on.
views_plugin_query_default::alter function plugins/views_plugin_query_default.inc Let modules modify the query just prior to finalizing it.
views_plugin_query_default::build function plugins/views_plugin_query_default.inc Builds the necessary info to execute the query.
views_plugin_query_default::clear_fields function plugins/views_plugin_query_default.inc Remove all fields that may've been added; primarily used for summary
mode where we're changing the query because we didn't get data we needed.
views_plugin_query_default::compile_fields function plugins/views_plugin_query_default.inc
views_plugin_query_default::condition_sql function plugins/views_plugin_query_default.inc Construct the "WHERE" or "HAVING" part of the query.
views_plugin_query_default::db_fetch_object function plugins/views_plugin_query_default.inc Wrapper method for db_fetch_object().
views_plugin_query_default::db_query function plugins/views_plugin_query_default.inc Wrapper method for db_query().
views_plugin_query_default::db_query_range function plugins/views_plugin_query_default.inc Wrapper method for db_query_range().
views_plugin_query_default::db_result function plugins/views_plugin_query_default.inc Wrapper method for db_result().
views_plugin_query_default::db_set_active function plugins/views_plugin_query_default.inc Wrapper method for db_set_active().
views_plugin_query_default::ensure_path function plugins/views_plugin_query_default.inc Make sure that the specified table can be properly linked to the primary
table in the JOINs. This function uses recursion. If the tables
needed to complete the path back to the primary table are not in the
query they will be added, but additional…
views_plugin_query_default::ensure_table function plugins/views_plugin_query_default.inc Ensure a table exists in the queue; if it already exists it won't
do anything, but if it doesn't it will add the table queue. It will ensure
a path leads back to the relationship table.
views_plugin_query_default::execute function plugins/views_plugin_query_default.inc Executes the query and fills the associated view object with according
values.
views_plugin_query_default::get_aggregation_info function plugins/views_plugin_query_default.inc Get aggregation info for group by queries.
views_plugin_query_default::get_cache_info function plugins/views_plugin_query_default.inc Return info to base the uniqueness of the result on.
views_plugin_query_default::get_join_data function plugins/views_plugin_query_default.inc Retrieve join data from the larger join data cache.
views_plugin_query_default::get_preview_info function plugins/views_plugin_query_default.inc Return preview info.
views_plugin_query_default::get_table_info function plugins/views_plugin_query_default.inc Get the information associated with a table.
views_plugin_query_default::get_where_args function plugins/views_plugin_query_default.inc Get the arguments attached to the WHERE and HAVING clauses of this query.
views_plugin_query_default::init function plugins/views_plugin_query_default.inc Constructor; Create the basic query object and fill with default values.
views_plugin_query_default::mark_table function plugins/views_plugin_query_default.inc
views_plugin_query_default::options_form function plugins/views_plugin_query_default.inc Add settings for the ui.
views_plugin_query_default::option_definition function plugins/views_plugin_query_default.inc Information about options for all kinds of purposes will be held here.
views_plugin_query_default::query function plugins/views_plugin_query_default.inc Generate a query and a countquery from all of the information supplied
to the object.
views_plugin_query_default::queue_table function plugins/views_plugin_query_default.inc Add a table to the query without ensuring the path.
views_plugin_query_default::set_count_field function plugins/views_plugin_query_default.inc Set what field the query will count() on for paging.
views_plugin_query_default::set_distinct function plugins/views_plugin_query_default.inc Set the base field to be distinct.
views_plugin_query_default::set_header function plugins/views_plugin_query_default.inc Set the table header; used for click-sorting because it's needed
info to modify the ORDER BY clause.
views_plugin_row::query function plugins/views_plugin_row.inc Add anything to the query that we might need to.
views_plugin_style::query function plugins/views_plugin_style.inc Add anything to the query that we might need to.
views_plugin_style_summary::query function plugins/views_plugin_style_summary.inc Add anything to the query that we might need to.
views_plugin_style_summary_jump_menu::query function plugins/views_plugin_style_summary_jump_menu.inc Add anything to the query that we might need to.
views_query.test file tests/views_query.test Tests for Views query features.
views_query_default_aggregation_method_simple function plugins/views_plugin_query_default.inc
views_views_query_substitutions function ./views.module Substitute current time; this works with cached queries.