Skip to content

Commit 44550d3

Browse files
authored
Merge pull request #859 from ExpressionEngine/bug/7.x/fix-database-typos
Fix some spelling mistakes
2 parents 66de315 + 7a1362f commit 44550d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/development/legacy/libraries/database.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ When many rows of data are returned you will wish to loop through the returned a
8888
}
8989
}
9090

91-
## INSERTTing Data
91+
## INSERTing Data
9292

9393
Active Record includes `insert()`, `insert_batch()` and `set()` methods that makes the inserting of data into the database easier by correctly formatting the `INSERT` string and escaping the values being inserted. The `insert()` and `insert_batch()` methods accept the name of the table for the insert and an array containing the field names as keys with the values containing the data for those fields:
9494

@@ -106,7 +106,7 @@ Upon performing an insert you might wish to know the value of the primary key fo
106106
ee()->db->insert('channel', array('name' => $name));
107107
$entry_id = ee()->db->insert_id();
108108

109-
## UPDATEEing Data
109+
## UPDATEing Data
110110

111111
Active Record also includes `update()` and `update_batch()` methods that makes the updating of data in the database easier by correctly formatting the UPDATE string and escaping the values being inserted. Both methods accept the name of the table for the update, an array containing the field names as keys with the values containing the updated data for those fields, and the `WHERE` clause for choosing which rows in the table to update:
112112

@@ -122,7 +122,7 @@ Active Record also includes `update()` and `update_batch()` methods that makes t
122122
)
123123
);
124124

125-
## DELETEEing Data
125+
## DELETEing Data
126126

127127
Like `UPDATE`'s and `INSERT`'s, Active Record has a `delete()` method for deleting data. It accepts a table name and a string or array containing the `WHERE` clause(s):
128128

0 commit comments

Comments
 (0)