Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

sailsjs 1.0 model attribute type date columntype datetime error out in sailsjs

After more digging, found a ticket about this on https://github.com/balderdashy/waterline/issues/1497

The fix for the datetime issue to use ref instead of string:

attributes: {
    id: {type:'number',  required: true},
    'release_date': { type: 'ref', columnType: 'datetime' }
  }

Tags:

Datetime

Mysql

Model

Sails.Js

Related

Spark Dataframe Nested Case When Statement Make flutter application fullscreen How do I post form data with fetch api? Load website with v-navigation-drawer closed On key press of Enter, click a button in vuejs AVCaptureMetadataOutputObjectsDelegate not called in swift 4 for QR scanner How to listen for when sweet alert closes Display only a part of the name if characters exceed a limit in Vue.js Firebase Cloud Firestore : Invalid collection reference. Collection references must have an odd number of segments code . is not recognized as an internal or external command How spark read a large file (petabyte) when file can not be fit in spark's main memory Pagination not work for the RecyclerView within NestedScrollView

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy