Falcon v1.0.0 Documentationuse single-character variable names except for trivial indexes when looping, or in mathematical expressions implementing well-known formulae. Heavily document code that is especially complex or clever! example: def on_post(self, req, resp): pass In addition, if the route’s template contains field expressions, any responder that desires to receive requests for that route must accept arguments named after on_put(self, req, resp, name): pass Individual path segments may contain one or more field expressions. For example: /repos/{org}/{repo}/compare/{usr0}:{branch0}...{usr1}:{branch1} Parameters: uri_template0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.0.0 Documentationexample: def on_post(self, req, resp): pass In addition, if the route’s template contains field expressions, any responder that desires to receive requests for that route must accept arguments named after on_put(self, req, resp, name): pass Individual path segments may contain one or more field expressions: /repos/{org}/{repo}/compare/{usr0}:{branch0}...{usr1}:{branch1} Parameters: uri_template (str) flexible templating syntax used in the default router. Only simple paths with bracketed field expressions are recognized. For example: / /books /books/{isbn} /books/{isbn}/characters /books/{isbn}/characters/{name}0 码力 | 312 页 | 368.58 KB | 1 年前3
CakePHP Cookbook Documentation 5.xreadability. A limit of 80 or 120 characters makes it necessary to distribute complex logic or expressions by function, as well as give functions and objects shorter, more expressive names. Lines must not we specify some regular expressions that will match years, months and days in numerical form. Note that parenthesis (capturing groups) are not supported in the regular expressions. You can still specify if available. scale Can be included for SQLServer connections. Mapping Custom Datatypes to SQL Expressions The previous example maps a custom datatype for a ‘json’ column type which is easily represented0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Query::orderDesc() now accept Closure’s as their field enabling you to use build complex order expressions with the provided QueryExpression object. Error debug() and Debugger::printVar() now emit HTML automatic aliasing. This helps reduce overhead and complexity of building subqueries and common table expressions. IsUnique rule now accepts the allowMultipleNulls option that was available in 3.x. This is disabled supported in the new fluent case builder, inserting raw SQL or identifiers requires to explicitly use expressions. Routing Colon prefixed route placeholders like :controller are deprecated. Use braced placeholders0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xreadability. A limit of 80 or 120 characters makes it necessary to distribute complex logic or expressions by function, as well as give functions and objects shorter, more expressive names. Lines must not we specify some regular expressions that will match years, months and days in numerical form. Note that parenthesis (capturing groups) are not supported in the regular expressions. You can still specify available. • scale Can be included for SQLServer connections. Mapping Custom Datatypes to SQL Expressions The previous example maps a custom datatype for a ‘json’ column type which is easily represented0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Query::orderDesc() now accept Closure’s as their field enabling you to use build complex order expressions with the provided QueryExpression object. Error • debug() and Debugger::printVar() now emit HTML automatic aliasing. This helps reduce overhead and complexity of building subqueries and common table expressions. • IsUnique rule now accepts the allowMultipleNulls option that was available in 3.x. This is supported in the new fluent case builder, inserting raw SQL or identifiers requires to explicitly use expressions. 54 Chapter 3. Migration Guides CakePHP Cookbook Documentation, Release 4.x Routing • Colon0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
Query::orderDesc() now accept Closure’s as their field enabling you to use build complex order expressions with the provided QueryExpression object. Datasource Cake\Datasource\SimplePaginator was added messages. Database Query::identifier() was added. This method makes it easier to create identifier expressions for use in complex queries. Database connections will automatically be re-established when connections that cannot be represented by strings in SQL queries. See the Mapping Custom Datatypes to SQL Expressions for more information. A new JsonType was added. This new type lets you use the native JSON types0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
Query::orderDesc() now accept Closure’s as their field enabling you to use build complex order expressions with the provided QueryExpression object. Datasource • Cake\Datasource\SimplePaginator was added Database • Query::identifier() was added. This method makes it easier to create identifier expressions for use in complex queries. • Database connections will automatically be re-established when connections that cannot be represented by strings in SQL queries. See the Mapping Custom Datatypes to SQL Expressions for more information. • A new JsonType was added. This new type lets you use the native JSON types0 码力 | 967 页 | 2.80 MB | 1 年前3
Falcon v1.0.0 Documentationexample: def on_post(self, req, resp): pass In addition, if the route’s template contains field expressions, any responder that desires to receive requests for that route must accept arguments named after def on_put(self, req, resp, name): pass Individual path segments may contain one or more field expressions. For example: /repos/{org}/{repo}/compare/{usr0}:{branch0}...{usr1}:{branch1} Parameters • uri_template flexible templating syntax used in the default router. Only simple paths with bracketed field expressions are recognized. For example: / /books /books/{isbn} /books/{isbn}/characters /books/{isbn}/characters/{name}0 码力 | 87 页 | 348.15 KB | 1 年前3
Laravel 5.0 Documentation
Builder i. Introduction ii. Selects iii. Joins iv. Advanced Wheres v. Aggregates vi. Raw Expressions vii. Inserts viii. Updates ix. Deletes x. Unions xi. Pessimistic Locking iii. Eloquent ORM simplified, and the dependency on Symfony Routing has been minimized to the compiling of route expressions. With this release, we're also introducing an entirely new session engine. Similar to the routing allowing you to do anything from simple str_replace manipulations to more complex regular expressions. The Blade compiler comes with the helper methods createMatcher and createPlainMatcher , which0 码力 | 242 页 | 1.44 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













