????????????????????????
???????????? ???????[ 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 ?????????????????????????????????????????????????Щ????
????????δ?
????????????????????????????????У?????????????????????????????????????????????к???洦???????????????????????????ν??”??????????”??????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11