mongoã³ãã³ãããæ¥ç¶ããéã«ãªã¼ã«ãã¿ã¤ã(SQLè³)ããæã 人é¡ã«ã 調ã¹ãããå½¢ã§insertãselectãupdateãè¡ãæ¹æ³ã調ã¹ã¾ããã å®ç¾©åç § // use [ãã¼ã¿ãã¼ã¹å] use [ãã¼ã¿ãã¼ã¹å] // show databases show dbs // show tables show collectionsåç §ç³» // select * from [ã³ã¬ã¯ã·ã§ã³å] db.[ã³ã¬ã¯ã·ã§ã³å].find() // select * from [ã³ã¬ã¯ã·ã§ã³å] where x=4 db.[ã³ã¬ã¯ã·ã§ã³å].find({x:4}) // select j from [ã³ã¬ã¯ã·ã§ã³å] where x=4 db.[ã³ã¬ã¯ã·ã§ã³å].find({x:4}, {j:1}) // select * from [ã³ã¬ã¯ã·ã§ã³å] limit 1 db.[ã³ã¬ã¯ã·ã§ã³
{{#tags}}- {{label}}
{{/tags}}