Skip to content

Commit

Permalink
style: correct SQL query indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder committed Feb 21, 2024
1 parent 79cf745 commit 848a7ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/js/express/mysql/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
, name
, name_ru
, slug
FROM categories
LIMIT :q.limit
FROM categories
LIMIT :q.limit
dto:
name: CategoryDto
fields:
Expand Down
4 changes: 2 additions & 2 deletions examples/python/fastapi/postgres/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def get_list_v1_categories(limit, conn=Depends(db_connection)):
, name
, name_ru
, slug
FROM categories
LIMIT %(limit)s
FROM categories
LIMIT %(limit)s
""", {"limit": limit})
return cur.fetchall()
finally:
Expand Down

0 comments on commit 848a7ad

Please sign in to comment.