Function pg_sleep_for

Source
async fn pg_sleep_for(interval: Interval)
Expand description

Makes the current session’s process sleep until the given interval has elapsed.

query I
SELECT pg_sleep_for('1 second');
----
NULL