Closed
Description
Feature request
I'm not sure this is already possible (easily) and there's no discussions tab for this repo sadly so I figured I'd open an issue.
Basically I'm looking for a way to get the Model that's stored in postgres based on a model that already exists (read from local json or whatever). There's PrimaryKey annotations which I thought would be used for this sort of usecase but can't figure out how.
Describe the solution you'd like
MyModel localModel = ; // read from somewhere
MyModel remoteModel = client.Table<MyModel>.GetByPkey(localModel);
something along those lines would be nice