Convert SQL to Mongodb

Asked

Viewed 10 times

1

--Personal Peco helps to convert the following sql query to mongodb:

select count(*)
FROM tabela Where ((DataFim - DataInicio  ) /1000 /60 /60) is not null and  ((DataFim - DataInicio ) /1000 /60 /60) > 1 and  ((DataFim - DataInicio ) /1000 /60 /60) < 2;
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.