Class Create

    • Constructor Detail

      • Create

        public Create​(@NonNull
                      @NonNull SQLObject object)
        Instantiates a new Create.
        Parameters:
        object - the object being created
    • Method Detail

      • failIfExists

        public Create failIfExists()
        Fail if the object trying to be created already exists
        Returns:
        this Create object
      • ifNotExists

        public Create ifNotExists()
        Only create the object if it does not exist
        Returns:
        this Create object
      • ifNotExists

        public Create ifNotExists​(boolean ifNotExists)
        Set whether or not to fail or not when creating an object that already exists
        Parameters:
        ifNotExists - True - only create the object if it does not exist, false - fail if the object exists.
        Returns:
        this Create object