I make 2 cycles FOR - first for GROUPBY second for SELECT суббота, 14 ноября 2020 г. в 12:33:24 UTC+3, kell...@gmail.com:
> Probably also something for @Leonel Câmara . > > Can you compare the raw sql of Mysql and PostgreSQL of what you are > trying to do please? > > And post it here, then we can probably see what needs to be done. > > Thanks! > > Am Sa., 14. Nov. 2020 um 10:04 Uhr schrieb Dmitrii Ermolaev < > ermolaev...@gmail.com>: > >> if not currs_stats: >> db.currs_stats[0] = { >> 'curr_id': curr_id, >> 'deal_id': deal_id, >> 'average_': volume_out, >> 'count_': 1, >> } >> >> on MySQl all work >> >> error: No such record: 0 >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/4237a051-f333-4464-a12e-ba76208a1f39n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/web2py/4237a051-f333-4464-a12e-ba76208a1f39n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/84250002-0f04-4260-b024-5c6d941428bbn%40googlegroups.com.