We developed a nanopipette that can detect sugars in solution. We achieved this by functionalizing the nanopipette opening with a polyelectrolyte bearing boronic acid moieties. The functionalized nanopipette acts as a fluidic diode where the rectification of the ionic current flowing through the nanopipette depends on the concentraiton of sugars in solution.