const data = this.userRepository.find({
relations: ['photos']
})
async function getSearchedData (search:string){
try {
const searchData = return await this.connection
.getRepository(UserEntity)
.createQueryBuilder("user")
.leftJoinAndSelect("user.roles", "roles")
.where(
"user.full_name LIKE :search OR user.username LIKE :search OR user.email LIKE :search",
A mutable object is an object whose state can be changed or modified over time. A immutable object is an object whose state cannot be modified after it is created.
In Javascript String and Numbers are immutable and Objects and arrays ars mutable.
let a = 7
a += 1
- Open-source industry standart (RFC-7519).
- Usable for Authorization or secure exchange of information bretween parties.
- Verify that the sender is who it/he/she claims to be.
- Signed by the issuer, using a secret or keypair (HMAC algorithm, RSA or ECDSA).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"files.autoSaveDelay": 5000, | |
"editor.wordWrap": "off", | |
// "editor.fontFamily": "'SF Mono','Fira Code','Operator Mono','Monolisa','Cascadia Code','JetBrains Mono', 'monospace', 'Droid Sans Fallback','Segoe Ui Emoji','Noto Color Emoji'", | |
"workbench.colorCustomizations": { | |
// "editorGutter.addedBackground": "#141A1F", | |
// "editorGutter.modifiedBackground": "#141A1F", | |
// "editorGutter.background": "#141A1F" |
By default React is a JavaScript library for building user interfaces
In React, for routing we have to use third party libraries for handling various features like for routing we might use react-router-dom.
Historically, in order to host website for a company they usually contact server/hardware providers to setup a sever farm. But this way had some serious down sides
- Managing hardwares was pain in the a**.
- Security risk, if we had another service to run in our server there was no any isolation, every service had access to do any thing with
OlderNewer