CURRENT_TIME

Represents the SQL CURRENT_TIME function.

This can be used in queries to refer to the current time as maintained by the database engine. The format is HH:MM:SS.

Example:

// SELECT CURRENT_TIME;
Employees.select(CURRENT_TIME).execute()

// INSERT INTO Employees (login_time) VALUES (CURRENT_TIME);
Employees.quickInsert {
it.loginTime.bind(CURRENT_TIME)
}

Author

MOHAMMAD AZIM ANSARI

See also