forked from didirus/AstralRinth
* implement backend limits on project creation * implement collection, org creation hard caps * Fix limit api * Fix clippy * Fix limits * Update sqlx queries * Address PR comments on user limit structure * sqlx prepare and clippy * fix test maybe
26 lines
767 B
JSON
26 lines
767 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO payout_sources_balance (account_type, amount, pending, recorded)\n SELECT * FROM UNNEST ($1::text[], $2::numeric[], $3::boolean[], $4::timestamptz[])\n ON CONFLICT (recorded, account_type, pending)\n DO UPDATE SET amount = EXCLUDED.amount\n RETURNING xmax = 0 \"xmax!\"\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "xmax!",
|
|
"type_info": "Bool"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"TextArray",
|
|
"NumericArray",
|
|
"BoolArray",
|
|
"TimestamptzArray"
|
|
]
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "212d808123a9b4c5d4e72f3f6bed1f0d11f0da5aa0c59385bbabd138d28cb154"
|
|
}
|