上一页 1 ··· 360 361 362 363 364 365 366 367 368 ··· 491 下一页
摘要: We have all this data, but how do we answer questions about it? In this lesson we’ll learn how to filter down to just the information we’re looking fo 阅读全文
posted @ 2017-03-07 19:35 Zhentiw 阅读(162) 评论(0) 推荐(0)
摘要: // Insert one row INSERT INTO movies (title, release_date, count_stars, director_id) VALUES ( 'Kill Bill', '10-10-2003', 3, 1 ); // Insert multi rows INSERT INTO movies (title, release_... 阅读全文
posted @ 2017-03-07 19:29 Zhentiw 阅读(192) 评论(0) 推荐(0)
摘要: In this lesson, we'll look at how we can use Ramda's invoker and constructNfunctions to take methods of an object and turn them into reusable utility 阅读全文
posted @ 2017-03-07 16:24 Zhentiw 阅读(205) 评论(0) 推荐(0)
摘要: Now let's see how to access admin interface. 1. Create a super user which can access admin interface: 2. Inside admin.py, we import the Models we have 阅读全文
posted @ 2017-03-07 04:01 Zhentiw 阅读(408) 评论(0) 推荐(0)
摘要: TypeScript has 'interface' and 'type', so when to use which? It is recommended that to use 'interface' to define the props that obj should have. 'type 阅读全文
posted @ 2017-03-06 19:48 Zhentiw 阅读(206) 评论(0) 推荐(0)
摘要: I can use <tamplete> syntax and a entry component as a container to create a dynamic component. Notice it will create a empty div as a placeholder in 阅读全文
posted @ 2017-03-06 19:30 Zhentiw 阅读(1239) 评论(0) 推荐(0)
摘要: To create a dynamic template, we need to a entry component as a placeholder. Then we can use entry component to create a new Tamplete into it. As we c 阅读全文
posted @ 2017-03-06 19:11 Zhentiw 阅读(250) 评论(0) 推荐(0)
摘要: Learn how to create a table using the most widely-used data types (serial, varchar, integer, float, boolean, and date), and the most necessary constra 阅读全文
posted @ 2017-03-06 17:48 Zhentiw 阅读(156) 评论(0) 推荐(0)
摘要: For example you have a TS app: The problem for this piece of code is that, you can assign 'kobe' to null, or undefined. And compiler won't catch this 阅读全文
posted @ 2017-03-06 17:16 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: The difference between sort, sortBy, sortWith is that: 1. sort: take function as args. 2. sortBy: take prop as args. 3. sortWith: take array of funcs 阅读全文
posted @ 2017-03-06 16:51 Zhentiw 阅读(754) 评论(0) 推荐(0)
上一页 1 ··· 360 361 362 363 364 365 366 367 368 ··· 491 下一页