????????????????????????
???????????? ???????[ 2014/3/12 11:31:09 ] ????????????? NoSQL ???
??????NoSQL????????к?????????????????????????岻??????????????????????????????Щ???м??????????????????????Nosql???????????????????б????????????????????????????е?????????????????????????????????С?
???????????
???????????????????????????????????????????????????????????Heroku???? git push heroku master????????????????????git????????????????????CouchDB ?? MongoDB????????????????????顣?????????????????????б?????? CREATE TABLE ?? ALTER TABLE????????????????????????????????????????????????????鰡??
# Assuming a column thats referenced doesn’t exist
# Automatically execute relevant bits in your ORM
# This isn’t code meant for you to run
ALTER TABLE foo ADD COLUMN bar varchar(255); # This is near instant
# Set your default value in your ORM
UPDATE TABLE foo SET bar = ’DEFAULT VALUE’ WHERE bar IS NULL;
ALTER TABLE foo ALTER COLUMN bar NOT NULL;
????????????????????????????????????????б?????????????????????????????й???????????????????ò???????????????????????λ????ORMs?????????????????????е??????????????????????????????????????????????????????????????????????????????????ε????????????
????Rails/Django(????????)?????????????д????????????????????????????????????????????????????????????????????????????????????????????????PostgreSQL??????????ORM?в???????????????е?????
???????
????????????????????????????????MongoDB/CouchDB?????????洢??????????????????????????????JSON??????????????JSON?????????????????????????????????????ò????????????????????????????顣?????????????Postgres?????и?JSON?????????????JSON????????????????Щ????????????????????á????????????????JSON???????? DB2??JSON??????е???????
?????????????д???JSON ????????????????????????е???????????JSON????????????????JSON?洢?????е??????Postgres ???????????????????洢????row_to_json??????????????JSON????
???????????????Щ????????????????????????£?????????????Щ?????????????????????????????????????JSON???????????????????
???????伴?????
????????????????????????????????????????Щ????Couch ???伴?????????????Щ?????????Щrest ???????????????′???????????????????????????????Щ????????????????£???????????????????????1?????????????????????????????棬???????????
???????????????????Postgres ?????????????????????????????????????????????????Щ????
????????δ?
????????????????????????????????У?????????????????????????????????????????????к???洦???????????????????????????ν??”??????????”??????????????
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44