getRecords() related Query


#1

I am trying to use the API getRecords.

However, I see the following implementation notes:-
Here for SDK backwards compatibility, see getRecordsByFilter(), getRecordsByIds(), and getRecordsByPost()

Please clarify this statement. Is it that you don’t encourage using this API? instead we should use one of the APIs mentioned?
Since I am just starting my backend development I don’t to use any such API call which might get deprecated soon.

I can manage by using any of the APIs including getRecords.
Please clarify


#2

getRecords isn’t going anywhere, but the new methods execute faster in most cases.
If you’re using filters or passing an array of ids, or posting records to get records, use those.

Again, getRecords is widely adopted, so it won’t be going anywhere.