Sugar-based carboxamidoquinoline conjugate for sensing Cu2+ and Au3+ ions in water through different binding modes and real application.