书栈网 · BookStack 本次搜索耗时 0.031 秒,为您找到 50777 个相关结果.
  • while

    while Checking the condition at the end of a loop As an expression while A while executes its body as long as its condition is truthy. while some_condition do_this en...
  • while

    while Checking the condition at the end of a loop As an expression while A while executes its body as long as its condition is truthy. while some_condition do_this en...
  • while

    while Checking the condition at the end of a loop As an expression while A while executes its body as long as its condition is truthy. while some_condition do_this en...
  • 模型

    886 2018-02-05 《Rails 风格指南》
    自由地引入不是 ActiveRecord 的模型类。 模型的命名应有意义(但简短)且不含缩写。 如果需要模型类有与 ActiveRecord 类似的行为(如验证),但又不想有 ActiveRecord 的数据库功能,应使用 ActiveAttr 这个 gem。 class Message include ActiveAttr ::...
  • The Program

    The Program Main code The Program The program is a global object in which you can define types, methods and file-local variables. # Defines a method in the program def add...
  • The Program

    The Program Main code The Program The program is a global object in which you can define types, methods and file-local variables. # Defines a method in the program def add ...
  • The Program

    The Program Main code The Program The program is a global object in which you can define types, methods and file-local variables. # Defines a method in the program def add...
  • Type inference

    Type inference With type restrictions Without type restrictions 1. Assigning a literal value 2. Assigning the result of invoking the class method new 3. Assigning a variable th...
  • sql trace

    SQL TRACE能够交互式的提供上一次执行的SQL请求执行过程信息及各阶段的耗时。 sql trace开关 sql trace功能默认时关闭的,可通过session变量来控制其关闭和打开; set ob_enable_trace_log = 0 / 1 ; show trace 当sql trace功能打开后,执行需要诊断的SQ...
  • Has Many

    133 2022-11-24 《Hanami v1.3 Guides》
    Setup Basic usage Add and Remove Querying Also known as one-to-many, is an association between a single entity (Author ) and a collection of many other linked entities (Book ...