AT
Size: a a a
AT
АП
СК
V
p
two = await posts_query.gino.load(Post.id).all()
four = await post_when_comment_query.gino.load(Post.id).all()
logger.error(f'2: >>>>>>> {two}')
logger.error(f'4: >>>>>>> {four}')
union_post_comment_query = posts_query.union(post_when_comment_query)
# тут вылетает ошибка
six = await union_post_comment_query.gino.load(Post).all()
logger.error(f'5: >>>>>>> {union_post_comment_query}')
p
.gino.load(Post).all()
из моделей которые обьединил через union
в sqlAlchemy
вылетает "could not identify an equality operator for type json",
T
p
T
T
two = await posts_query.gino.load(Post.id).all()
four = await post_when_comment_query.gino.load(Post.id).all()
logger.error(f'2: >>>>>>> {two}')
logger.error(f'4: >>>>>>> {four}')
union_post_comment_query = posts_query.union(post_when_comment_query)
# тут вылетает ошибка
six = await union_post_comment_query.gino.load(Post).all()
logger.error(f'5: >>>>>>> {union_post_comment_query}')
post_when_comment_query
- это что вообще?p
p
T
T
p
p
p
p
p
АА