Piperidine compounds and pharmaceutically useful salts thereof, a pharmaceutical composition including an effective amount of the racemic or enantiomerically enriched piperidine compounds to treat gastrointestinal diseases, and a method of treating gastrointestinal diseases in a mammal are provided.