Skip to content

Conversation

@itaimoorali
Copy link

No description provided.

@padelagani
Copy link
Collaborator

@taimoor736 Can you tell me purpose for setting default value to null ??

@itaimoorali
Copy link
Author

@padelagani so that while creating a new record in the database i dont have to provide deletedAt value every time. Otherwise if i created a record without providing deletedAt and query for that record, its not going to produce any result.

@itaimoorali
Copy link
Author

itaimoorali commented Dec 20, 2017

@padelagani so that while creating a new record in the database i dont have to provide deletedAt value every time. Otherwise if i created a record without providing deletedAt and query for that record, its not going to produce any result.

@padelagani did this answers to your question.???

@padelagani
Copy link
Collaborator

padelagani commented Dec 20, 2017

@taimoor736 Can you tell me which query you want to perform ? because isDeleted field can be used for that. If you can tell me any scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants