|
|
|
@@ -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, |
|
|
|
|