next up previous contents
Next: Attributes Up: A working session Previous: Inserting data   Contents

Deleting data

Data is deleted using idba_dimenticami:

c     Delete all data from the station with id 4 in year 2002
      call idba_seti(handle, "ana_id", 4)
      call idba_seti(handle, "year", 2002)
      call idba_dimenticami(handle)

This code introduces a new function:

idba_dimenticami
deletes all the data found in the extremes specified in input.

idba_dimenticami will not work unless rewrite has been enabled for the data when opening the database.



root 2007-06-20