diff options
author | David Wosnitza <david@druul.in> | 2014-12-12 16:35:35 +0100 |
---|---|---|
committer | David Wosnitza <david@druul.in> | 2014-12-12 16:35:35 +0100 |
commit | d31a4e64aea57b24306484737a374a7f31b8b983 (patch) | |
tree | 26b57faa84986aa5dbccc95596d547f098c599a9 /user_guide_src/source/database | |
parent | 0edf7ee6c55e79b755e968f5161b1dff63cbdf6d (diff) |
fixed indentation/linkref errors
Signed-off-by: David Wosnitza <david@druul.in>
Diffstat (limited to 'user_guide_src/source/database')
-rw-r--r-- | user_guide_src/source/database/query_builder.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/user_guide_src/source/database/query_builder.rst b/user_guide_src/source/database/query_builder.rst index 030599e31..b06396e96 100644 --- a/user_guide_src/source/database/query_builder.rst +++ b/user_guide_src/source/database/query_builder.rst @@ -2,8 +2,8 @@ Query Builder Class ################### -CodeIgniter gives you access to a Query Builder class. This pattern -allows information to be retrieved, inserted, and updated in your +CodeIgniter gives you access to a Query Builder class. This pattern +allows information to be retrieved, inserted, and updated in your database with minimal scripting. In some cases only one or two lines of code are necessary to perform a database action. CodeIgniter does not require that each database table be its own class @@ -110,10 +110,10 @@ Permits you to write the SELECT portion of your query:: .. note:: If you are selecting all (\*) from a table you do not need to use this function. When omitted, CodeIgniter assumes that you wish - to select all fields and automatically adds 'SELECT *'. + to select all fields and automatically adds 'SELECT \*'. ``$this->db->select()`` accepts an optional second parameter. If you set it -to FALSE, CodeIgniter will not try to protect your field or table names. +to FALSE, CodeIgniter will not try to protect your field or table names. This is useful if you need a compound select statement where automatic escaping of fields may break them. @@ -1097,7 +1097,7 @@ Class Reference :returns: Number of rows in the query result :rtype: int - Generates a platform-specific query string that counts + Generates a platform-specific query string that counts all records returned by an Query Builder query. .. method:: get([$table = ''[, $limit = NULL[, $offset = NULL]]]) @@ -1540,4 +1540,4 @@ Class Reference :returns: The compiled SQL statement as a string :rtype: string - Compiles a DELETE statement and returns it as a string.
\ No newline at end of file + Compiles a DELETE statement and returns it as a string. |