* add sqlite3 storage * filter by content * remove needless files * update go.mod * do not unquote Search
7 lines
185 B
Go
7 lines
185 B
Go
package sqlite3
|
|
|
|
func (b SQLite3Backend) DeleteEvent(id string, pubkey string) error {
|
|
_, err := b.DB.Exec("DELETE FROM event WHERE id = $1 AND pubkey = $2", id, pubkey)
|
|
return err
|
|
}
|