mysql - Is there a way to make my credential information not return after I insert it into my database -


lets if wanted insert user infomation users table in database, following json format of information want insert:

{     'id': 1,     'username': 'asd123',     'password': 'abc123' } 

how can make return id , username when select * users id = 1

instead of

select * 

use

select id, username 

explanation: * used when want columns, otherwise use specific column names. use * when required.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -