title: Compare datetime > now with Jetbrains Exposed
body: <p>I have the current table:</p>
  
  <pre><code>create table Tokens (
    token varchar(256) not null,
    duser varchar(32) not null,
    type varchar(16) not null,
    expires_in datetime not null,
    auth_time datetime not null,
  
    primary key(token),
    foreign key(duser) references User(id)
  );
  </code></pre>
  
  <p>and i would like to make the query below:</p>
  
  <pre><code>select * from Tokens where duser = "myid" and expires_in &gt; current_timestamp
  --or something to compare if expires_in is greater than the current date **and** time
  </code></pre>
  
  <p>but I'm using <a href="https://github.com/JetBrains/Exposed" rel="nofollow noreferrer">Exposed</a>. I already made this:</p>
  
  <pre><code>return transaction {
              Database.TOKENS.run {
                  select {
                      (user eq this@DogoUser.id) and (expiresIn greater) //stopped here
                  }
              }
          }
  </code></pre>
  
  <p>How to refear <code>current_timestamp</code> MySQL variable vith Jetbrains Exposed?</p>