Class Drop

    • Constructor Detail

      • Drop

        public Drop​(@NonNull
                    @NonNull SQLObject object)
        Instantiates a new Drop Statement.
        Parameters:
        object - the object to be dropped
    • Method Detail

      • failIfNotExists

        public Drop failIfNotExists()
        Fail if the item being dropped does not exist
        Returns:
        this Drop Statement
      • ifExists

        public Drop ifExists​(boolean ifExists)
        Set whether or not to fail if trying to drop an object that does not exist
        Parameters:
        ifExists - True - only drop if the object exists, False - fail if the object does not exist
        Returns:
        this Drop Statement
      • ifExists

        public Drop ifExists()
        Only perform the drop the item being dropped exists.
        Returns:
        this Drop Statement