new model()
- Copyright:
- (c) Copyright 2013 - 2016 AV Digital Media Ltd. All Rights Reserved. No unauthorized copying, distribution or modification to this code in whole or in part is permitted without the express permission of AV Digital Media Ltd (UK).
This is the main model for the mvc framework, that which all other commands extend
Methods
(private, static) buildQuery(type, tables, fields, values, clause)
Build a query string based on the given values
Parameters:
Name | Type | Description |
---|---|---|
type |
String | The type of query find, add, edit, remove, replace |
tables |
String | The tables related to the query |
fields |
String | Relative fields to return |
values |
String | Values for the update statements |
clause |
String | The clause to add to the end of the query |