HackerTrans
トップ新着トレンドコメント過去質問紹介求人

singingwolfboy

no profile record

投稿

Advent of Slop: A Guest Post by Claude

lucumr.pocoo.org
6 ポイント·投稿者 singingwolfboy·7 か月前·0 コメント

コメント

singingwolfboy
·2 か月前·議論
https://archive.ph/aE9Xg
singingwolfboy
·2 か月前·議論
https://archive.ph/EvzqM
singingwolfboy
·4 か月前·議論
https://archive.ph/ABkeI
singingwolfboy
·4 か月前·議論
https://archive.ph/6kiqr
singingwolfboy
·4 か月前·議論
https://archive.ph/KTIGX
singingwolfboy
·5 か月前·議論
https://archive.ph/J8pg5
singingwolfboy
·6 か月前·議論
https://archive.ph/pm1c1
singingwolfboy
·6 か月前·議論
https://archive.ph/rHPk3
singingwolfboy
·7 か月前·議論
https://archive.ph/trS1i
singingwolfboy
·9 か月前·議論
https://archive.is/Xe0yW
singingwolfboy
·11 か月前·議論
https://archive.is/QH4hl
singingwolfboy
·11 か月前·議論
https://archive.ph/Q9lvm
singingwolfboy
·11 か月前·議論
https://archive.is/BYFSO
singingwolfboy
·12 か月前·議論
https://archive.is/7BmHJ
singingwolfboy
·昨年·議論
https://archive.ph/Pkxun
singingwolfboy
·6 年前·議論
PostGraphile [1] is a framework for generating a GraphQL API based on the tables in your database; as a result, good database design is crucial. Graphile Starter [2] is a quickstart project that demonstrates best practices for getting up and running with PostGraphile quickly. In particular, check out the SQL migration file in that project [3]. It demonstrates:

1. Dividing up tables so that one user can have more than one email address

2. Using PostgreSQL’s “row-level security” system to restrict database results based on the logged in user

3. Dividing tables across multiple schemas for additional security

4. SQL comments for documentation

5. SQL functions for common functionality, such as logging in or verifying an email

It’s a fascinating project, and well worth a look!

[1](https://www.graphile.org/postgraphile/)

[2](https://github.com/graphile/starter)

[3](https://github.com/graphile/starter/blob/master/%40app/db/mi...)