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)
}Content copied to clipboard
Author
MOHAMMAD AZIM ANSARI