Skip to content

Commit

Permalink
rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
agrgr committed Nov 21, 2023
1 parent beb51ee commit 2001478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/asciidoc/reference/template.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ For CAS updates `save` operation must be used.

== Methods for interacting with database

`AerospikeTemplate` provides operations for interacting with the database (`exists`, `find`, `insert`, `update` etc.) as well as basic operations with indexes: `createIndex`, `deleteIndex`, `indexExists`.
`AerospikeOperations` interface provides operations for interacting with the database (`exists`, `find`, `insert`, `update` etc.) as well as basic operations with indexes: `createIndex`, `deleteIndex`, `indexExists`.

The names of operations are typically self-descriptive.
For reading from DB you can use `findById` or `findByIds` operations, to delete documents use `delete` methods etc.
To read from Aerospike you can use `findById`, `findByIds` and `find` methods, to delete - `delete` methods, and so on.

[source,java]
----
Expand Down

0 comments on commit 2001478

Please sign in to comment.