INSERT INTO users (id, first, last, user, statuse, new)
VALUES (1234567, 'Саша', 'Иванов', 'ivanov', 'free', TRUE)
ON CONFLICT (id)
DO UPDATE SET user='ivanov', first='Саша', last='Иванов', statuse='free', new = FALSE
RETURNING new;
type Post struct{
Category Category `bson:"category, omitempty"`
}
func getPostWithoutCategory() (Post) {}
func getPostWithCategory() (Post) {}