PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Updating the data.
updates the database using the objects variables, returns TRUE on success
Beispiel 1. Simple fetch and update
|
This would execute the following SQL statements, both fetching and updating the database.
Beispiel 2. Resulting SQL
|
To perform a general update on a table, use the WhereAdd() method
Beispiel 3. Simple fetch and updated
|
This would execute the following SQL statements, both fetching and updating the database.
Beispiel 4. Resulting SQL
|
Inserting data.
Inserts data into the database and returns the key/ID if any.
Beispiel 5. Simple insert
|
Beispiel 6. Resulting SQL
|
Deleting data.
Beispiel 7. Simple Delete
|
This would execute the following SQL statements,
Beispiel 8. Resulting SQL
|
Zurück | Zum Anfang | Nach vorne |
Finding and fetching | Nach oben | Advanced Filters |