comparison src/lib/Db.luan @ 4:2da10ece826f

add Chat
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 27 Oct 2024 20:39:18 -0600
parents ee1f91e67509
children f9e6a4cc4f7d
comparison
equal deleted inserted replaced
3:2c63b10781e1 4:2da10ece826f
19 version = 1 19 version = 1
20 } ) 20 } )
21 21
22 Db.indexed_fields.user_email = Lucene.type.lowercase 22 Db.indexed_fields.user_email = Lucene.type.lowercase
23 23
24 Db.indexed_fields.chat_user_ids = Lucene.type.long
25 Db.indexed_fields.chat_updated = Lucene.type.long
26
24 function Db.not_in_transaction() 27 function Db.not_in_transaction()
25 logger.error(new_error("not in transaction")) 28 logger.error(new_error("not in transaction"))
26 end 29 end
27 30
28 Db.update{ 31 Db.update{