# Removed APIs

This page lists every exported ToriiDB symbol that has been removed, the release that removed it, and what to use instead.

## Removed Symbols

| Symbol | Package | Removed in | Last present | Replacement |
|---|---|---|---|---|
| `Entry.JSON` | `core/store` | Removed in v0.7.0 | v0.6.2 | Marshal the `Entry` fields you need yourself; the per-key JSON mirror it read from is gone |
| `WriteFile` | `core/utils` | Removed in v0.6.0 | v0.5.2 | No public replacement in ToriiDB; use `WriteFile` from `github.com/pardnchiu/go-pkg/filesystem` |
| `FindOperation` | `core/store` | Removed in v0.4.0 | v0.3.0 | `filter.Operator` |
| `ParseFindOp` | `core/store` | Removed in v0.4.0 | v0.3.0 | `filter.AtoOperation` |

## Methods Moved Off `*Store`

Removed in v0.4.1 as methods declared on `*Store` (last present in v0.4.0): `Current`, `DB`, `Del`, `DelField`, `Exec`, `Exist`, `ExistField`, `Expire`, `ExpireAt`, `Find`, `Get`, `GetField`, `Incr`, `IncrField`, `Keys`, `Persist`, `Query`, `Select`, `Set`, `SetField`, `TTL`, `Type`, `TypeField`.

They moved to the unexported `core` type that both `Store` and `Session` embed, so calls such as `torii.Get(key)` still compile on a `*Store` and now also work on a `*Session`. `Query` had already changed in v0.4.0 from `(field, op, value, limit)` to `(f filter.Filter, limit)`.

## Related Pages

- [Packages](/api-reference)
- [store](/api-reference-store)
- [Replay and Recovery](/persistence-replay)
