yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --dev
This file contains hidden or 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
"scripts": { | |
"android": "react-native run-android", | |
"ios": "react-native run-ios", | |
"start": "react-native start", | |
"test": "jest", | |
"lint": "eslint . --ext .js,.ts,.tsx", | |
"lint:fix": "eslint . --ext .js,.ts,.tsx --fix", | |
"prettier": "prettier --check '*/**/*.{js,ts,tsx}'", | |
"prettier:fix": "prettier --write '*/**/*.{js,ts,tsx}'" | |
}, |
This file contains hidden or 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
-- Explain the concepts of Entity and Attribute | |
-- In the relational data model, an entity is represented as a record in an entity set. In the relational data model, a field represents an attribute. | |
-- ref : https://binaryterms.com/difference-between-entity-and-attribute-in-database.html#:~:text=An%20entity%20is%20a%20distinguishable,a%20field%20represents%20an%20attribute. | |
-- Give examples representing multivalued and derived attribute | |
-- multivalued attribute : An attribute that can have multiple values for an entity. for Example User entity in an ecommerce have attributes email, password, phone, and address. The address attributes may have multiple value, because a user may have multiple address. | |
-- derived attribute : An attribute that can be derived from another attribute, for Example age attribute can be delivered from birthdate attribute. | |
-- ref : https://pctechnicalpro.blogspot.com/2017/04/types-of-attributes-in-dbms-with-example.html | |
-- CREATING EMPLOYEES : |