Answer the question
In order to leave comments, you need to log in
Is it possible to change the name of a database column when rendering via REST?
Well, that is, do not change the name itself in the database, namely, so that the table has a field username
, but when I received the data of this table via REST, the field was username
displayed Логин
in the json body, is that possible?
{
"Логин": "some_login", // но в таблице бд, столбец называется username
"age": 1000
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question