8000 flexable schema, ModelInstance.toJSON() and response type check added by saracalihan · Pull Request #16 · anchovycation/metronom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

flexable schema, ModelInstance.toJSON() and response type check added #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

saracalihan
Copy link
Member
  • Model oluştururken ModelOptions girilen değeri içinde girilen, varsayılan değeri false olan flexSchema değeri sayesinde kullanıcı sadece şemaya göre varsayılan değer verebilecek ve sadece şemadaki alanları kaydedebilecek. Eper bu değer true ise sadece keyUnique değerinin girilmesi gerekmektedir.

  • ModelInstance.toJSON() fonksiyonu ile kayıt içindeki _Model değişkeni silinir.

  • safeRead fonksiyonunda yapılan güncelleme sayesinde girilen şeymaya göre veritabanından gelen veriler JavaScript'teki temel veri tiplerine çevrilir.

Close #14

@saracalihan saracalihan added the enhancement New feature or request label Feb 13, 2022
@saracalihan saracalihan merged commit a8c1bd3 into anchovycation:main Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sadece schema yapısının Redis'e kaydedilebilme özelliği eklenmeli
2 participants
0