並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 13 件 / 13件

新着順 人気順

paginationの検索結果1 - 13 件 / 13件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

paginationに関するエントリは13件あります。 railsmysqltechfeed などが関連タグです。 人気エントリには 『Introducing FastPage: Faster offset pagination for Rails apps — PlanetScale』などがあります。
  • Introducing FastPage: Faster offset pagination for Rails apps — PlanetScale

    Want to learn more about unlimited IOPS w/ Metal, Vitess, horizontal sharding, or Enterprise options? Talk to Solutions By Mike Coutermarsh | August 16, 2022 We’d like to introduce FastPage, a new gem for ActiveRecord that applies the MySQL “deferred join” optimization to your offset/limit queries. Here is a slow pagination query in Rails: Post.all.order(created_at: :desc).limit(25).offset(100) #

      Introducing FastPage: Faster offset pagination for Rails apps — PlanetScale
    • ライブラリの実装からCursor-based paginationにおけるcursorのフォーマットのベストプラクティスを探る - Qiita

      ライブラリの実装からCursor-based paginationにおけるcursorのフォーマットのベストプラクティスを探るGraphQL この記事は GraphQL Advent Calendar 2020 13 日目の記事です。 前回の記事は @maaz118 さんの GraphQL の @defer, @stream ディレクティブを試してみる でした。 GraphQLにおける2つのPagination方式 Offset-basedとCursor-based GraphQLにおけるpaginationには、Offset-based paginationとCursor-based paginationの2つが主な方法としてあります。 GraphQLの公式ページには3つの例が載っています。 https://graphql.org/learn/pagination/#pagination

        ライブラリの実装からCursor-based paginationにおけるcursorのフォーマットのベストプラクティスを探る - Qiita
      • the_posts_paginationの使い方と簡単なマークアップカスタマイズ方法 | オレインデザイン

        受託案件では制限のない限り、プラグインを利用したページネーション(ページナビゲーション)を設置することが多いのですが、大人の理由でプラグインが使えなかったり、テーマの中で動作を管理したい場合にはthe_posts_pagination()という関数を使うことで、WordPressが標準で用意しているページネーションを設置することができます。 今回は、こちらのthe_posts_pagination()を利用する際に、よく使う情報や、簡単にマークアップ構造(CSSクラス名とか)などを変更したい際のフィルターフックなどを紹介します。 the_posts_pagination()の使い方 使い方と言っても、PHPで書けば良いだけなんで何ってわけではないのですが、こんな感じで配列で設定をカスタムすることができます。 <?php the_posts_pagination( array( 'base'

          the_posts_paginationの使い方と簡単なマークアップカスタマイズ方法 | オレインデザイン
        • Design better pagination

          Pagination separates groups of content into multiple pages. It typically takes the form of a horizontal list of numbers linking to each page with buttons to navigate forward and back. Pagination makes it easier for users to transverse many results by presenting them in defined amounts per page. Pagination can also improve loading time by fetching a set amount of results on each page load instead o

            Design better pagination
          • Laravelのページネーション(Pagination)について(カスタマイズするには)

            Laravelのページネーションを使用したり、カスタマイズしたページネーションを実装したりしたことがあるので、思い出しながら復習してみます! Laravelでページネーションを使うには? コントローラでpaginateを使って呼び出す Modelからデータを読み出すときにpaginateを使うと LengthAwarePaginatorの形式で返ってくるので、それをviewに渡して使うといいです。 下記が作った掲示板のコードの一部で、一覧をコントローラから渡しているところです。 $board = new Board(); $board_list = $board->orderBy("created_at", "desc")->paginate(env("PAGE_MAX_LIMIT")); return view('top_list', ['board_list' => $board_li

              Laravelのページネーション(Pagination)について(カスタマイズするには)
            • Faster pagination in HEY

              Recently we focused on improving the performance of HEY. Fixing slow database queries for some of the HEY pages was a challenge, so I thought it would be worth writing up a technique we used. Background HEY currently runs on Amazon Aurora with MySQL 5.7 compatibility. It uses the InnoDB storage engine. In InnoDB, table and indexes are stored in a variation of a B+ tree data structure. The tree is

                Faster pagination in HEY
              • Pagination (Reference) | Prisma Documentation

                Prisma Client supports both offset pagination and cursor-based pagination. Offset pagination​ Offset pagination uses skip and take to skip a certain number of results and select a limited range. The following query skips the first 3 Post records and returns records 4 - 7: const results = await prisma.post.findMany({ skip: 3, take: 4, }) To implement pages of results, you would just skip the number

                  Pagination (Reference) | Prisma Documentation
                • Using a React Table with Client-Side Pagination

                  If you’d prefer to watch rather than read: https://youtu.be/v9E7moqUJ40 Pagination is a simple navigation technique that allows you to divide content into pages. It is very useful when you want to display a large recordset on multiple pages, for example in a table with a huge amount of data. In this article, I’ll be teaching you how to use a React Table with client-side pagination using react-rain

                    Using a React Table with Client-Side Pagination
                  • Laravel9でPaginationを簡単に美しく実装する方法【Tailwind CSS利用】

                    LaravelはJavascriptをいじらなくても、簡単にページネーションを使えます。 ただTailwind CSSのデフォルトのページネーションは、日本語がちょっとおかしかったり、現在のページに色が着かなかったりと残念なところがあります。 こういった部分を修正し、Laravel9でTailwind CSSを使って、簡単に美しくページネーションを搭載する方法を紹介します。 *なおBootstrapご利用の場合は、下記をご覧ください。

                    • GitHub - planetscale/fast_page: Blazing fast pagination for ActiveRecord with deferred joins ⚡️

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - planetscale/fast_page: Blazing fast pagination for ActiveRecord with deferred joins ⚡️
                      • Cursor-based pagination

                        We recommend reading Core pagination API before learning about considerations specific to cursor-based pagination. Using list element IDs as cursorsSince numeric offsets within paginated lists can be unreliable, a common improvement is to identify the beginning of a page using some unique identifier that belongs to each element of the list. If the list represents a set of elements without duplicat

                          Cursor-based pagination
                        • Laravel8 でPaginationを簡単に美しく実装する方法【Bootstrap利用】

                          LaravelにはJavascriptをいじらなくても、簡単にページネーションを使えます。 ただLaravel8ではデフォルトのCSSフレームワークがBootstrapからTailwind CSSになったので、表示がおかしくなることも。 Bootstrapを使って、簡単に美しくページネーションを搭載する方法を紹介します。 *Tailwind CSSの場合は、下記をご覧ください。

                          • Pagination in Apollo Client

                            If your graph includes thousands or millions of books, this query probably returns much more data than you need. To resolve this issue, GraphQL servers can paginate their list fields. When a client queries a paginated list field, the server returns only a portion (or "page") of the list's elements. The client's query includes arguments that indicate which page the server should return: This diagra

                              Pagination in Apollo Client
                            1

                            新着記事