A.33 library(persistency): Provide persistent dynamic predicates
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(persistency): Provide persistent dynamic predicates
          • persistent/1
          • current_persistent_predicate/1
          • db_attach/2
          • db_attached/1
          • db_assert/1
          • db_detach/0
          • db_retractall/1
          • db_retract/1
          • db_sync/1
          • db_sync_all/1
    • Packages
Availability::- use_module(library(persistency)).(can be autoloaded)
Source[det]db_detach
Detach persistency from the calling module and delete all persistent clauses from the Prolog database. Note that the file is not affected. After this operation another file may be attached, providing it satisfies the same persistency declaration.