Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Functional Programming
Diskuy-Backend
Commits
0f607339
Commit
0f607339
authored
Feb 08, 2021
by
Muhammad Rafif Elfazri
Browse files
Remove paginator and add Scrivener
parent
d9955733
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/diskuy/repo.ex
View file @
0f607339
...
...
@@ -3,9 +3,6 @@ defmodule Diskuy.Repo do
otp_app:
:diskuy
,
adapter:
Ecto
.
Adapters
.
Postgres
use
Paginator
,
limit:
25
,
# sets the default limit to 10
maximum_limit:
100
,
# sets the maximum limit to 100
include_total_count:
true
use
Scrivener
,
page_size:
25
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment