EctoTablestore.Repo.one

You're seeing just the callback one, go back to EctoTablestore.Repo module for more information.

Specs

one(schema(), options()) :: schema() | {:error, term()} | nil

Similar to get/3, please ensure schema entity has been filled with the whole primary key(s).

Options

  • :entity_full_match, whether to transfer the input attribute column(s) into the :== filtering expressions, by default it is false, when set entity_full_match: true, please notice the following rules:

    • If there exists attribute column(s) provided in entity, these fields will be combined within multiple :== filtering expressions;
    • If there exists attribute column(s) provided and meanwhile set filter option, they will be merged into a composite filter.

Other options please refer get/3.