datasourceâ Defines a data source in the Prisma schema. Fieldsâ A datasource block accepts the following fields: NameRequiredTypeDescription
A key feature of Prisma Client is the ability to query relations between two or more models. Relation queries include: Nested reads (sometimes referred to as eager loading) via select and include Nested writes with transactional guarantees Filtering on related records Prisma Client also has a fluent API for traversing relations. Nested readsâ Nested reads allow you to read related data from multip
ã¯ããã« Prismaã¯Node.jsã¨TypeScriptç¨ã®ORMã§ãã 次ã®ãã¼ã«ç¾¤ã§æ§æããã¦ãã¾ãã Prisma Client Prisma Migrate Prisma Studio https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-typescript-postgres ã«è¨è¼ããã¦ããæé ã§ãããã¸ã§ã¯ãä½æãä½æãPrismaã触ã£ã¦ã¿ã¾ããã â» Prisma Studioã®é¨åã«é¢ãã¦ã¯ã試ãã¦ããªãã®ã§è¨è¼ãã¦ãã¾ããã å®è¡ç°å¢ ãã¼ã¸ã§ã³
æ¥æ¬å°å³ãè¦ã¦ãã¦ãµã¨ãæ æ¨çã£ã¦ä¸¸ããªãããããªä¸¸ãçã»ãã«ãªãããããªããï¼ãã¨æããå½å交éçãå ¬éãã¦ããå½åæ°å¤æ å ±ã»è¡æ¿åºåãã¼ã¿ãç¨ãã¦47é½éåºçã®ä¸¸ããæ¯è¼ãã¦ã¿ããã¨ã«ãããå¹´æ«å¹´å§ã¨ããã®ã¯ããããæ¤è¨¼ã®ããã«åå¨ããã ã·ã«ã¨ããã¯ã¤ãºã§ãé£åã¨ãã¦ç¥ãããæ æ¨çæ¯è¼æ¹æ³ã²ã¨ãã¡ã«ã丸ããã¨è¨ã£ã¦ãããã¤ãã®æ¸¬å®åºæºãããããä»åã¯ããã®çã¨åãé¢ç©ã®åã«ãçã®ä½%ãåãããã¨ãã§ããããã§æ¸¬ãããã®æ¡ä»¶ã§ããã°å°ç¬ å諸島ã®ããã«æ¥µç«¯ã«é¢ããé¢å³¶ããã£ã¦ãã大ããªä¸å©ã«ãªããªãã詳細ã¯ä»¥ä¸ã®ã¨ããã åã®ä¸å¿ã¯%ãæ大ã«ãªããã調æ´ããã å°å³ã¯ã¡ã«ã«ãã«å³æ³ãç¨ããã æ¹ãæ²³å·ãªã©ã®æ°´ç³»ã¯ãåå°ã¨åæ§ã«æ±ãã å ãã¼ã¿ã¯å½åæ°å¤æ å ±ã»è¡æ¿åºåãã¼ã¿ãç¨ãããä¸è¨ãµã¤ããã誰ã§ããã¦ã³ãã¼ãã§ããã æè¡çãªè©³ç´°ã¯ã©ããå¥ã®æ©ä¼ã«ã¾ã¨ããã¨ãã¦ããã£ãããé½éåºç丸
ãã®è¨äºã¯ååã®ã47é½éåºç丸ãã©ã³ãã³ã°ãã®è£½ä½ãã¼ãã§ããããããããæ¤è¨¼è¨äºã¯ã©ããããã³ã·ã§ã³ã§ä½ã£ã¦ãã®ãããç¥ãããéããã°ã©ãã«åãã¦æ¸ãããåæ©çãªãã¨ãããã£ã¦ãªãã®ã§è·æ¥ããã°ã©ããè¦ãã°ã¤ã©ã¤ã©ããæãããäºæ¿é¡ãããã ä»åã®ç®çã¯ãçã®ä¸¸ããããã®çã¨åãé¢ç©ã®åã«ãçã®ä½%ãåãããã¨ãã§ããããã¨ãã¦å®éåãããã®ã©ã³ãã³ã°ãä½ããã¨ã§ããã ã丸ããã®ä¾å°å³ãæ±ããã¨ãã£ã¦ãç»åãã¼ã¿ãæ±ãããã§ã¯ãªããå°å³ã¯ãããã測éã¨ãã§å¾ãããæ°å¤ãã¼ã¿ããä½ããã®ã§ãããããã¦æ°å¤ãã¼ã¿ã®æ¹ãããã°ã©ã çã«ã¯æ±ããããããªã®ã§ãæ°å¤å°å³ãã¨ãããã®ãæ¢ããå½å交éçãåºãã¦ããå½åæ°å¤æ å ±ã使ãã ä¼è½å¿ æ¬ã®æ代ã¯æ¥æ¬å°å³ãå½å¤ã«æã¡åºãã ãã§å¤§ç½ªã«ãªã£ãï¼ã·ã¼ãã«ãäºä»¶ï¼ãããã¾ãå½ãç©æ¥µçã«å ¬éãã¦ããã®ã ãã大ãããã®ã§ããã ãã¼ã¿ã¯ãXMLãã¨ããå½¢å¼
VS Code 㧠Remote SSH VS Code 㧠Remote SSH ããæ¹æ³ãè¨è¼ãã¦ããã¾ãã ã¯ããã« æ¬å®¶ã®ãã¥ã¼ããªã¢ã«ã¯ä»¥ä¸ã®ãµã¤ãã«ããã¾ãã æ¦è¦ Developing on Remote Machines using SSH and Visual Studio Code ãã¥ã¼ããªã¢ã« Connect over SSH with Visual Studio Code Remote Development with Visual Studio Code Tutorials è¦ç´ ãã£ãã㨠1. VS Code ã« Remote SSH ã®æ¡å¼µæ©è½ãã¤ã³ã¹ãã¼ã« æ¡å¼µæ©è½ã®ãã¿ã³ãã¯ãªãã¯ããRemoteã¨å ¥åã表示ããã Remote-SSH ãã¤ã³ã¹ãã¼ã«ããã ããã¨ã以ä¸ã®ãããªãã¼ã¯ãå·¦ä¸ã«ã><ãã表示ããããã¨ã確èªããã 2. VS Code
blog.codinghorror.com Stack Overflow ã®å ±ååµæ¥è ããããã¯ãFizzBuzzãã¹ãããåºãä¸ã«ç¥ããããï¼ï¼ï¼ãã¨ã§ç¥ããã Jeff Atwood ããå½¼ã®ä¸ä»£ã«ãã£ã¨ãå½±é¿ãä¸ãã BASIC æ代ã®æ¬ãåãä¸ãã¦ããã ããã¯1970年代ã«åè¡ããã BASIC Computer Games ã ãããã®æ¬ã«æ²è¼ãããã²ã¼ã ãéã¶ããã« BASIC ã®ã³ã¼ããæã¡è¾¼ãã ããã¨ãããã¨ã§ãæ¥æ¬ã§ããã¨1980年代ã®ãã¤ã³ã³BASICãã¬ã¸ã³ï¼ãã¼ãã¬ï¼ã«è¿ãåå¨ã ãããã ã§ãåã«ãã¹ã¿ã«ã¸ã¼ã§ãã®æã®æ¬ãåãä¸ãã¦ããã®ã§ã¯ãªããå½¼ã¯ããã«æ²è¼ãããã²ã¼ã ã® BASIC ã®ã½ã¼ã¹ã³ã¼ãã Java ã Python ã C# ãªã©8ã¤ã®ç¾ä»£ã®ããã°ã©ãã³ã°è¨èªã«ç§»æ¤ããããã¸ã§ã¯ããç«ã¡ä¸ãã¦ããã github.com ã©ã¤ã»ã³ã¹ã¯ The Un
ãC:\Windows\System32\Imageres.dllãã«ã¯ã大éã®ã¢ã¤ã³ã³ãå«ã¾ãã¦ãããWindowsã«ã¯ãã®ãããªãã¡ã¤ã«ãããã¤ããã ãã©ã«ãã¼ãã«ã¹ã¿ãã¤ãºããããã¹ã¿ã¼ãã¡ãã¥ã¼ã«ã¿ã¤ã«ãé ç½®ãããã¨ããªã©ãèªä½ã®ãªãªã¸ãã«ã¢ã¤ã³ã³ã欲ãããªããã¨ããããããããWindowsã§ç¨ããããICONå½¢å¼ãã¡ã¤ã«ã¯ä½æã«å°ç¨ãã¼ã«ãå¿ è¦ã§é¢åã ãããããWindowsèªä½ã«ã¯ICONãã¡ã¤ã«ã®ä½æãã¼ã«ãå«ã¾ãã¦ããªãã ã¢ã¤ã³ã³ç»åã§ç¨ãããã¦ããICONå½¢å¼ã®ãã¡ã¤ã«ã¨ã¯ï¼ ICONãã¡ã¤ã«ã¯Windowsã¨ã¨ãã«ç»å ´ãããã¡ã¤ã«å½¢å¼ã ãåæã®Windowsã§ã¯ãç»åãããããããã§æ±ã£ã¦ããããããã¾ãã¾ãªè§£å度ã表示ãµã¤ãºãè²è§£å度ã«å¯¾å¿ããããã«åä¸ã®ç»åãè¤æ°ã®è§£å度ã»è²æ°ã§ä½æãã¦1ã¤ã«ã¾ã¨ããããããICONãã¡ã¤ã«å½¢å¼ã ãæã¯ãWindowsã®éçºã
ã¯ããã« ã½ããã¦ã§ã¢ããã¸ã§ã¯ãã«ã¯ä¸æè°ãªæ§è³ªãããã¾ããç¾ç¶ã®ã¹ã±ã¸ã¥ã¼ã«ã«èª²é¡ãæãã¦ãçãããããã«äººå¡ãæä¸ãã¦ãããªããªãæãéãã«çããªããªããããã©ãããæªåãã¦ãã¾ããã¨ãããã¾ããå ´åã«ãã£ã¦ã¯ããã¸ã§ã¯ãèªä½ãç ´ç¶»ãã¦å¤±æãã¦ãã¾ããã¨ããããã¾ãã ä»åã¯ããã®ãããªã½ããã¦ã§ã¢ããã¸ã§ã¯ãã«æ½ãç´æã«åããæ§è³ªãæ°ççãªã¢ãã«ãä»ãã¦ç解ãã¦ãã試ã¿ã§ãããã種ã®æèå®é¨ã¨ãã¦ã楽ãã¿ãã ããã å®£ä¼ Qiitaããã¨ã³ã©ãä¼ç»ã§ã¢ããã³ãã«ã¬ã³ãã¼ãã¤ããã¾ããã DXããã¡ããã¡ãæ¹åãã話ãåéãã¦ãã¾ãã https://qiita.com/advent-calendar/2021/dx-improvement 10人ã®å¦å©¦ããã¦ã1ã¶æã§ä¸äººã®åä¾ã¯çã¾ããªã ããã¯èª°ãã®æè¡åãããã¸ã§ã¯ãããã¸ã¡ã³ãåã«æ¬ é¥ãããã®ã§ã¯ãªããã人æã®ç¥è©±ãã§æåãª
ããã¾ã§ã¨ã³ã¸ãã¢ãã¹ã¯ã©ã ãã¹ã¿ã¼ã¨ãã¦ã¹ã¯ã©ã ãã¼ã ã«é¢ãã£ã¦æ¥ã¾ãããããã®éç¨ã§ä½åº¦ããç¸å¯¾è¦ç©ãããããã¹ãã¼ãªã¼ãã¤ã³ããã«çºããæ©ã¿ã«ã¶ã¡å½ãã£ã¦ãã¾ãããå·¥æ°ãæéã§ã®è¦ç©ããã«æ £ãã¦ããç§ã«ã¨ã£ã¦ããããã¯ç解ãå®è·µããã«ããæå¼·ããã®ã§ããã ä»åã¯ãç§ãå®éã«ç´é¢ããåé¡ã¨ãããããæç ´ãããããã¼ã ã§åãçµãã§ãããã¨ãæãè¿ãã¦ã¿ããã¨æãã¾ãã å£1. ãç¸å¯¾è¦ç©ãããã®èãæ¹ãç解ã§ããªã å£2. ã¹ãã¼ãªã¼ãã¤ã³ãããä½ãè¦ç©ããæ段ãããç解ãã¦ããªã å£3. è¦ç©ãããã³ãããã¡ã³ãã¨æãã¦ãã¾ã ã¾ã¨ã å£1. ãç¸å¯¾è¦ç©ãããã®èãæ¹ãç解ã§ããªã ããã¯ãã°ä¸ã«ç©ã¾ããã¦ã¼ã¶ã¼ã¹ãã¼ãªã¼ãã¨ããã¯ãè¦ç©ãããã¨ããã¨ããç§ãã¡ã¯çã£å ã«ããããªã³ã³ãã¼ãã³ããæ°è¦å®è£ ããã ããããããã2æ¥ãããæãããããã®æ¢åæ©è½ããããå¿ è¦ãããããè¤éãªç®
ã¯ããã« å æ¥éãããé«å°ããã³ã³ã«ã¦ããµããããã¨ãããããã¯ããçºè¡¨ãããã¨ãã ãç§ã¯æã£ã¦ãã¾ãã ãã©ã¤ãã©ãªã使ã£ã¦æ¥½ããã¦ããã ãªã©ã®ææã審æ»å¡ããåããã¨ãããã¤ã¼ãã«é¢é£ãã¦ã SNS㧠ãOSSã使ãã®ãNGã¨ãåãã£ã¦ç¡ãéããã ã¨ã ã審æ»å¡ã¯ããã³ãã¨ã³ããåãã£ã¦ãªãã ã¨ããã³ã¡ã³ããå¤æ°æãã¾ãããéã« ããã®çºè¡¨å 容ã¯ãã¹ãªã¼ãã£ã³ã°ã§ããé©åã§ã¯ãªãã çã®ã³ã¡ã³ããä¸é¨ããã¾ãããç§èªèº«ã¯ã©ã¡ããã¨è¨ãã¨ä»¶ã®å¯©æ»å¡ã®æ¹ã«åæããé¨åãããã¾ãã®ã§ããã®èãã«è³ãèæ¯ãç§ãªãã®çºè¡¨ã®æ¹åç¹ãã¾ã¨ãã¦ã¿ã¾ãããããã¾ã§ãããããèãæ¹ãããããã¨åèã¾ã§ã«ã éè¦ çºè¡¨ãããæ¹ã ã誹è¬ä¸å·ããæå³ã¯ä¸åããã¾ãã ãµã¤ãã«é¢ç½ãçç¼ç¹ã§è¯ããã®ä½ã£ããªã¼ãã¨æã£ã¦ãã¾ã 審æ»å¡ã®è¨ãæ¹ã«ã¯åé¡ããããã©ã¹ã¡ã³ãã¯å¸¸ã«ãã¡ãã¼ãã¿ã¤ãä¾ãã³ã¡ã³ãã®è¶£æ¨
JXé信社ã·ãã¢ã»ã¨ã³ã¸ãã¢ã®@shinyorkeï¼ãããã¼ãï¼ã§ã. æè¿ã¯è²ããªã¨ã³ã¸ãã¢ãªã³ã°ããã¤ã¤, ã¤ãã³ãã®å¸ä¼æ¥ããã¦ãã¾ãï¼è©³ç´°ã¯æå¾ã®æ¹ãè¦ã¦ãï¼. éçºãã¦ãããµã¼ãã¹ã»ãããã¯ãã®è¦ä»¶ã§, TwitterãLINE, Facebookã§ã·ã§ã¢ããOGP*1ã³ã³ãã³ãï¼ã¿ã¤ãã«ã»æ¬æã»ç»åï¼ã欲ãã ã³ã³ãã³ãã¯ã¦ã¼ã¶ã¼ããã®æä½ã§åçã«å¤ãã ããã¹ãã ããããªãã¦, ç»åãå¤ãããâãã ãªãã¦äºã¯é常ã«ãããã話ã ã¨æãã¾ã. ç§ã¯ã¡ãã£ã¨åã«éçºããAIã¯ã¯ãã³æ¥ç¨®äºæ¸¬ã§ãããããã¾ãã. ãããããã¤ã§ã ä¾ãã°ä¸è¨ç»åã®ããã¹ãï¼å°åã»å¹´é½¢ã»æ¥ç¨®å¯è½ææï¼ã¯äºæ¸¬ã®çµæãåçã«ç»åãã³ãã¬ã¼ãã«å ¥ãã¦é½åº¦ä½ã£ã¦ãã¾ã. ä¸è¨ã®OGPãçæããããã«å¿ è¦ãªãã¨ã¯ããããæãã ãããªã¼, ã¨ä»¥ä¸ã®çµµã®éãæ´çã, ãã£ãã㨠çµæçã«, OGPãçæããããã®ãµ
ãªãã¡ãã£ã¦ã¢ã¸ã£ã¤ã«ï¼ã¢ã¸ã£ã¤ã«ã¨è¨ã£ã¦ãä½ãï¼ã¯ããã®ãã¨ãå¤ãã§ãã ã«ã¦ãã¼ã¤ã³ã¼ãã£ã³ã°ã¨ã¯ï¼ ã«ã¦ãã¼ã¤ã³ã¼ãã£ã³ã°ã¯ãåã ã®éçºè ããèªåãè¯ãã¨æãããã°ã©ãã³ã°ãããã©ãã©ã«è¡ããã¨ã§ããã 好ã¾ãããªãç¶æ ãæãã®ã«ä½¿ãè¨èã§ãããç¹å®ã®éçºææ³ãæãè¨èã§ã¯ãªãã è·äººçãªå人æã«ä¾åããã«ã¦ãã¼ã¤ã³ã¼ãã£ã³ã°ã«ã¯ãæ確ãªææ³ãæ¬ å¦ãã¦ããã ã«ã¦ãã¼ã¤ã³ã¼ãã£ã³ã°ã§éçºãè¡ããã¼ã ã®ã¡ã³ãã¼ã¯ãèªåãã¡ãããããæ£ããã¨æããä½æ¥ãè¡ãã ã¢ã¸ã£ã¤ã«ã½ããã¦ã§ã¢éçºã«ã¯ãè¨ç»ã®é »ç¹ãªåè©ä¾¡ãç´æ¥é¡ãåãããææçéã®éè¦ãæ¯è¼çå°ãªãææ¸åãªã©ã®ç¹å¾´ãããã 以ä¸ã®ãããªç¹å¾´ãã¢ã¸ã£ã¤ã«éçºã«ã¯ãããããã¢ã¸ã£ã¤ã«éçºã¨ã«ã¦ãã¼ã¤ã³ã¼ãã£ã³ã°ãæ··åããããã¨ãããã ããããããããæ··åã¯æ£ç¢ºã§ã¯ãªãã ã¢ã¸ã£ã¤ã«éçºãã¼ã ã¯æ確ãªããã»ã¹ã«å¾ã£ã¦ä½æ¥ããã ããã¦
æè¿Chrome DevToolsã«ã¤ãã¦èª¿ã¹ã¦ãã¦çºè¦ãã便å©æ©è½ãç´¹ä»ãã¾ãã 誰ãã使ããæé«ä¾¿å©ãªéçºãã·ã³Chrome DevToolsã使ãããªãã¦éçºä½é¨ãå¤ãã¾ãããï¼ 1. $0ã§é¸æä¸ã®DOMè¦ç´ ã®åå¾ ç¹å®ã®è¦ç´ ã«ä½ããããã¨ããæã«ã¯ãè¦ç´ ã®IDãclassã確èªãã¦Consoleã§document.querySelector("#xxx")ã§åå¾ããã¨ããã®ãä¸è¬çã ã¨æãã¾ããå®ã¯ããã¯ã«ã¼ã½ã«é¸æã¨$0ã§ä»£æ¿ã§ãã¾ãã ClassããIDãã¤ãã¦ããªãç¹å®ã®DOMãåå¾ãããæã¨ãã«ã使ããã®ã§å°å³ã«ä¾¿å©ã§ãã æé ã«ã¼ã½ã«ã§åå¾ãããè¦ç´ ãé¸ã¶ Consoleã¿ãã§$0ãå ¥å æè¿ç¥ã£ãChrome DevToolsã®ä¾¿å©æ©è½â $0 ã§ã®é¸æä¸ã®DOMè¦ç´ åå¾ Elementsã¿ãã§é¸æç¶æ ã®DOMè¦ç´ ã¯ãConsoleä¸ã§ $0 ãå ¥åãããã¨ã§åå¾ã§
ãUNIXã¯ãã æ»ãã ã ãã§ãªããæ¬å½ã«ã²ã©ãèããæ¾ã¡å§ãã¦ãããããã£ãã·ã¥ã¯ã¢ã¼ããã¯ãã£ã§ã¯ãªããåãªãæé©åã ããªã©ã®èªé²ãçãã ãGoã®ç¶ãã¨ãå¼ã°ããããã»ãã¤ã¯æ°ã®ãããã°ã©ãã³ã°5ã«æ¡ãã«ã¤ãã¦ããããä¸ã§è©±é¡ã¨ãªã£ã¦ãã¾ã users.ece.utexas.edu/~adnan/pike.html http://users.ece.utexas.edu/~adnan/pike.html Rob Pike's Rules of Programming (1989) | Hacker News https://news.ycombinator.com/item?id=24135189 ãã¤ã¯æ°ã®ãããã°ã©ãã³ã°5ã«æ¡ãã¯ä»¥ä¸ã ã«ã¼ã«1ï¼ããã°ã©ã ã®ã©ãã§å¦çæéãããããã¯ããããªããããã«ããã¯ã¯æå¤ãªå ´æã§çºçããã®ã§ãããã«ããã¯ãã©ãã«ãããã証æããã¾ã§ã¯ãè測
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}