我想連接到RethinkDB本地,我收到一個奇怪的錯誤消息,我找不到任何其他文檔。 該連接在我的辦公室計算機上工作,但無法在我的MacBook Pro 10.9.2上使用。 當我運行我的應用程序我得到這個錯誤: { name: 'RqlDriverError',
msg: 'Server dropped connection with message: "ERROR: this is t
所以,這裏是我正在Python 2.7中使用最新的RethinkDB(1.14)編寫的一些代碼中有趣的簡化代碼片段。我的問題是現在我需要添加另一個條件,並且有太多可能的組合。這可以在一個過濾器聲明中完成嗎? query = r.table('messages').order_by(r.desc('created'))
if tag is not None and read is not None