
# TOTAL items in the adresar
❯ grpcurl -plaintext localhost:50051 multieko2.adresar.Adresar/GetAdresarCount
{
  "count": "5"
}
# Item at this count. If there are 43 items, number 1 is the first item 
❯ grpcurl -plaintext -d '{"position": 1}' localhost:50051 multieko2.adresar.Adresar/GetAdresarByPosition
{
  "id": "1",
  "firma": "ks555",
  "kz": "f",
  "drc": "asdf",
  "ulica": "as",
  "psc": "f",
  "mesto": "asf",
  "stat": "as",
  "banka": "fa",
  "telefon": "a",
  "skladu": "fd",
  "fax": "asf"
}
# Item fetched by id. The first item was created and marked as deleted, therefore number 1 in ids shouldnt be fetched.
❯ grpcurl -plaintext -d '{"id": 1}' localhost:50051 multieko2.adresar.Adresar/GetAdresar
ERROR:
  Code: NotFound
  Message: no rows returned by a query that expected to return at least one row
╭─     ~ ············································· 69 ✘
╰─
