avancevl / avancevl.github.io Goto Github PK
View Code? Open in Web Editor NEWAVL | 一家開源的新創 | An Open Sourced Incubator
Home Page: https://www.avancevl.com
AVL | 一家開源的新創 | An Open Sourced Incubator
Home Page: https://www.avancevl.com
你好,我在看後端測試樣本的考題,目前正在練習
對於 考題大綱 「3.尋找題目」 有個疑慮
題目需求要呈現結果的總數量
後端測試樣本內提供的題目資料庫共有 1664 筆
https://docs.google.com/spreadsheets/d/1EmWraWzyvxt7km7MiPxU6PDTXzy05_jUyvwUqHc5nP0/edit?usp=sharing
我使用 Firebase 的免費版本,Cloud Firestore 資料庫服務提供每日讀取作業只有五萬次
Colud Firestore 並沒有 count 函數,如果要取得資料筆數的話必須在取出後查看資料 size
如果查詢不加 limit() 的話,每日讀取限制很快就會用完
因為沒有 count 函數,所以要實做 paginate 的話
作法會變成依條件取出所有資料後使用程式處理要回傳前端的部份
但是這種作法會大量消耗每日讀取限制的額度
我的作法是依條件取出10筆,前端頁面捲到底部後,再依條件請求後續10筆
但是這種作法無法得知該條件所有資料筆數
所以想問一下,實際考試時,使用的資料是否也會到一千多筆?
謝謝
many links seem to be 404
Example of broken URL:
Selecting English language sends me back to index.html
For example:
{{ site.baseurl }}/{{ page.localurl }}/recruit/webdev.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.