ソースを参照

Changed base query

master
rpm-mcarman 2年前
コミット
e302b1bb78
1個のファイルの変更13行の追加20行の削除
  1. +13
    -20
      app/api/security/defalutadminapi.json

+ 13
- 20
app/api/security/defalutadminapi.json ファイルの表示

@@ -47,15 +47,7 @@
"column": "lastname"
}
],
"params": [
{
"operator": "equal",
"type": "expression",
"name": ":P1",
"value": "{{$_GET.id}}",
"test": ""
}
],
"params": [],
"table": {
"name": "users"
},
@@ -65,21 +57,22 @@
"condition": "AND",
"rules": [
{
"id": "users.id",
"field": "users.id",
"type": "double",
"id": "users.email",
"field": "users.email",
"type": "string",
"operator": "equal",
"value": "{{$_GET.id}}",
"value": "admin@prelub.com",
"data": {
"table": "users",
"column": "id",
"type": "number",
"column": "email",
"type": "text",
"columnObj": {
"type": "increments",
"primary": true,
"type": "string",
"maxLength": 255,
"primary": false,
"unique": false,
"nullable": false,
"name": "id"
"nullable": true,
"name": "email"
}
},
"operation": "="
@@ -88,7 +81,7 @@
"conditional": null,
"valid": true
},
"query": "select `id`, `email`, `pwd`, `firstname`, `lastname` from `users` where `users`.`id` = ?"
"query": "select `id`, `email`, `pwd`, `firstname`, `lastname` from `users` where `users`.`email` = ?"
}
},
"output": true,


読み込み中…
キャンセル
保存