src/Database/ORM/Traits/Timestamps.php
/**
	 * Synchronizes the timestamps with the database. This is useful if you need the timestamps after row update or
	 * creation, as the framework will not fetch them automatically for performance reasons.
	 *
	 * @return void
	 */
Synchronizes the timestamps with the database. This is useful if you need the timestamps after row update or
creation, as the framework will not fetch them automatically for performance reasons.

@return void
Synchronizes the timestamps with the database . This is useful if you need the timestamps after row update or creation as the framework will not fetch them automatically for performance reasons . @return void
public function refreshTimestamps() {
		$row = $this->createSelectQuery()->columns('updated_at', 'created_at')->first();
		$this->writeCommittedField('updated_at', $row->updated_at);
		$this->writeCommittedField('created_at', $row->created_at);
	}
public function refreshTimestamps ( ) { $ row = $ this -> createSelectQuery ( ) -> columns ( 'updated_at' , 'created_at' ) -> first ( ) ; $ this -> writeCommittedField ( 'updated_at' , $ row -> updated_at ) ; $ this -> writeCommittedField ( 'created_at' , $ row -> created_at ) ; }
Synchronizes the timestamps with the database.
Synchronizes the timestamps with the database .