GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing api-reference.treefrogframework.org — TreeFrogFramework: TSqlObject Class Reference
Loading...
Searching...
No Matches
TSqlObject Class Reference
Inheritance diagram for TSqlObject:
![]()
Collaboration diagram for TSqlObject:
![]()
Detailed DescriptionThe TSqlObject class is the base class of ORM objects.
Constructor & Destructor Documentation◆ TSqlObject() [1/2]
Constructor. ◆ TSqlObject() [2/2]
Copy constructor. ◆ ~TSqlObject()
Member Function Documentation◆ autoValueIndex()
Returns the position of the auto-generated value field on the table. This is a virtual function. ◆ clear()
Clears the contents of the object. Reimplemented from TModelObject. ◆ create()
Inserts new record into the database, based on the current properties of the object. Implements TModelObject. ◆ databaseId()
Returns the database ID. ◆ error()
Returns a QSqlError object which contains information about the last error that occurred on the database. ◆ getDatabase()
◆ isModified()
Returns true if the values of the properties differ with the record on the database; otherwise returns false. ◆ isNew()
Returns true if it is a new object, otherwise returns false. Equivalent to isNull(). ◆ isNull()
Returns true if there is no database record associated with the object; otherwise returns false. Implements TModelObject. ◆ operator=()
Assignment operator. ◆ primaryKeyIndex()
Returns the position of the primary key field on the table. This is a virtual function. ◆ reload()
Reloads the values of the record onto the properties. ◆ remove()
Deletes the record with this primary key from the database. Implements TModelObject. ◆ save()
Depending on whether condition matches, inserts new record or updates the corresponding record with the properties of the object. If possible, invokes UPSERT in relational database. Implements TModelObject. ◆ setRecord()
Sets the record. This function is for internal use only. ◆ syncToObject()
Synchronizes the internal record data to the properties of the object. This function is for internal use only. ◆ syncToSqlRecord()
Synchronizes the properties to the internal record data. This function is for internal use only. ◆ tableName()
Returns the table name, which is generated from the class name. ◆ update()
Updates the corresponding record with the properties of the object. Implements TModelObject. Member Data Documentation◆ sqlError
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||