Update docs and repo tooling
This commit is contained in:
parent
2fbccaedbd
commit
527d3833cd
3
.gitignore
vendored
3
.gitignore
vendored
@ -148,3 +148,6 @@ docs/phpdoc*
|
||||
.project
|
||||
all_tests
|
||||
build/.phpunit.result.cache
|
||||
.phpunit.cache
|
||||
.php-cs-fixer.cache
|
||||
tools/phpDocumentor
|
||||
|
524
.php-cs-fixer.dist.php
Normal file
524
.php-cs-fixer.dist.php
Normal file
@ -0,0 +1,524 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
use Nexus\CsConfig\Factory;
|
||||
use PhpCsFixer\{Config, Finder};
|
||||
|
||||
$finder = Finder::create()
|
||||
->in([
|
||||
__DIR__ . '/src',
|
||||
__DIR__ . '/tests',
|
||||
__DIR__ . '/tools',
|
||||
])
|
||||
->exclude([
|
||||
'vendor',
|
||||
]);
|
||||
|
||||
return (new Config())
|
||||
->setRiskyAllowed(TRUE)
|
||||
->setFinder($finder)
|
||||
->setIndent(' ')
|
||||
->setRules([
|
||||
'align_multiline_comment' => false,
|
||||
'array_indentation' => true,
|
||||
'array_push' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'assign_null_coalescing_to_coalesce_equal' => true,
|
||||
'backtick_to_shell_exec' => true,
|
||||
'binary_operator_spaces' => [
|
||||
'default' => 'single_space',
|
||||
'operators' => [
|
||||
'=' => NULL,
|
||||
'&' => NULL,
|
||||
]
|
||||
],
|
||||
'blank_line_after_namespace' => true,
|
||||
'blank_line_after_opening_tag' => false,
|
||||
'blank_line_before_statement' => [
|
||||
'statements' => [
|
||||
// 'case',
|
||||
'continue',
|
||||
'declare',
|
||||
'default',
|
||||
'do',
|
||||
'exit',
|
||||
'for',
|
||||
'foreach',
|
||||
'goto',
|
||||
'return',
|
||||
'switch',
|
||||
'throw',
|
||||
'try',
|
||||
'while',
|
||||
'yield',
|
||||
'yield_from',
|
||||
],
|
||||
],
|
||||
'braces' => [
|
||||
'allow_single_line_anonymous_class_with_empty_body' => true,
|
||||
'allow_single_line_closure' => true,
|
||||
'position_after_anonymous_constructs' => 'same',
|
||||
'position_after_control_structures' => 'next',
|
||||
'position_after_functions_and_oop_constructs' => 'next',
|
||||
],
|
||||
'cast_spaces' => ['space' => 'single'],
|
||||
'class_attributes_separation' => [
|
||||
'elements' => [
|
||||
'const' => 'none',
|
||||
'property' => 'none',
|
||||
'method' => 'one',
|
||||
'trait_import' => 'none',
|
||||
],
|
||||
],
|
||||
'class_definition' => [
|
||||
'multi_line_extends_each_single_line' => true,
|
||||
'single_item_single_line' => true,
|
||||
'single_line' => true,
|
||||
'space_before_parenthesis' => true,
|
||||
],
|
||||
'class_reference_name_casing' => true,
|
||||
'clean_namespace' => true,
|
||||
'combine_consecutive_issets' => true,
|
||||
'combine_consecutive_unsets' => true,
|
||||
'combine_nested_dirname' => true,
|
||||
'comment_to_phpdoc' => [
|
||||
'ignored_tags' => [
|
||||
'todo',
|
||||
'codeCoverageIgnore',
|
||||
'codeCoverageIgnoreStart',
|
||||
'codeCoverageIgnoreEnd',
|
||||
'phpstan-ignore-line',
|
||||
'phpstan-ignore-next-line',
|
||||
],
|
||||
],
|
||||
'compact_nullable_typehint' => true,
|
||||
'concat_space' => ['spacing' => 'one'],
|
||||
'constant_case' => ['case' => 'upper'],
|
||||
'control_structure_continuation_position' => ['position' => 'next_line'],
|
||||
'date_time_immutable' => false,
|
||||
'declare_equal_normalize' => ['space' => 'none'],
|
||||
'declare_parentheses' => true,
|
||||
'declare_strict_types' => true,
|
||||
'dir_constant' => true,
|
||||
'doctrine_annotation_array_assignment' => false,
|
||||
'doctrine_annotation_braces' => false,
|
||||
'doctrine_annotation_indentation' => false,
|
||||
'doctrine_annotation_spaces' => false,
|
||||
'echo_tag_syntax' => [
|
||||
'format' => 'short',
|
||||
'long_function' => 'echo',
|
||||
'shorten_simple_statements_only' => false,
|
||||
],
|
||||
'elseif' => true,
|
||||
'empty_loop_body' => ['style' => 'braces'],
|
||||
'empty_loop_condition' => ['style' => 'while'],
|
||||
'encoding' => true,
|
||||
'error_suppression' => [
|
||||
'mute_deprecation_error' => true,
|
||||
'noise_remaining_usages' => false,
|
||||
'noise_remaining_usages_exclude' => [],
|
||||
],
|
||||
'escape_implicit_backslashes' => [
|
||||
'double_quoted' => false,
|
||||
'heredoc_syntax' => false,
|
||||
'single_quoted' => false,
|
||||
],
|
||||
'explicit_indirect_variable' => false,
|
||||
'explicit_string_variable' => false,
|
||||
'final_class' => false,
|
||||
'final_internal_class' => [
|
||||
'annotation_exclude' => ['@no-final'],
|
||||
'annotation_include' => ['@internal'],
|
||||
'consider_absent_docblock_as_internal_class' => false,
|
||||
],
|
||||
'final_public_method_for_abstract_class' => false,
|
||||
'fopen_flag_order' => true,
|
||||
'fopen_flags' => ['b_mode' => true],
|
||||
'full_opening_tag' => true,
|
||||
'fully_qualified_strict_types' => true,
|
||||
'function_declaration' => ['closure_function_spacing' => 'one'],
|
||||
'function_to_constant' => [
|
||||
'functions' => [
|
||||
'get_called_class',
|
||||
'get_class',
|
||||
'get_class_this',
|
||||
'php_sapi_name',
|
||||
'phpversion',
|
||||
'pi',
|
||||
],
|
||||
],
|
||||
'function_typehint_space' => true,
|
||||
'general_phpdoc_annotation_remove' => false,
|
||||
'general_phpdoc_tag_rename' => false,
|
||||
'get_class_to_class_keyword' => false,
|
||||
'global_namespace_import' => [
|
||||
'import_constants' => true,
|
||||
'import_functions' => true,
|
||||
'import_classes' => true,
|
||||
],
|
||||
'group_import' => true,
|
||||
'header_comment' => false, // false by default
|
||||
// 'heredoc_indentation' => ['indentation' => 'start_plus_one'],
|
||||
'heredoc_to_nowdoc' => true,
|
||||
'implode_call' => true,
|
||||
'include' => true,
|
||||
'increment_style' => ['style' => 'post'],
|
||||
'indentation_type' => true,
|
||||
'integer_literal_case' => true,
|
||||
'is_null' => true,
|
||||
'lambda_not_used_import' => true,
|
||||
'line_ending' => true,
|
||||
'linebreak_after_opening_tag' => false,
|
||||
'list_syntax' => ['syntax' => 'short'],
|
||||
'logical_operators' => true,
|
||||
'lowercase_cast' => true,
|
||||
'lowercase_keywords' => true,
|
||||
'lowercase_static_reference' => true,
|
||||
'magic_constant_casing' => true,
|
||||
'magic_method_casing' => true,
|
||||
'mb_str_functions' => false,
|
||||
'method_argument_space' => [
|
||||
'after_heredoc' => false,
|
||||
'keep_multiple_spaces_after_comma' => false,
|
||||
'on_multiline' => 'ensure_fully_multiline',
|
||||
],
|
||||
'method_chaining_indentation' => true,
|
||||
'modernize_strpos' => false, // requires 8.0+
|
||||
'modernize_types_casting' => true,
|
||||
'multiline_comment_opening_closing' => true,
|
||||
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
|
||||
'native_constant_invocation' => false,
|
||||
'native_function_casing' => true,
|
||||
'native_function_invocation' => false,
|
||||
'native_function_type_declaration_casing' => true,
|
||||
'new_with_braces' => false,
|
||||
'no_alias_functions' => ['sets' => ['@all']],
|
||||
'no_alias_language_construct_call' => true,
|
||||
'no_alternative_syntax' => ['fix_non_monolithic_code' => false],
|
||||
'no_binary_string' => true,
|
||||
'no_blank_lines_after_class_opening' => true,
|
||||
'no_blank_lines_after_phpdoc' => true,
|
||||
'no_blank_lines_before_namespace' => false, // conflicts with `single_blank_line_before_namespace`
|
||||
'no_break_comment' => ['comment_text' => 'no break'],
|
||||
'no_closing_tag' => true,
|
||||
'no_empty_comment' => true,
|
||||
'no_empty_phpdoc' => true,
|
||||
'no_empty_statement' => true,
|
||||
'no_extra_blank_lines' => ['tokens' => ['extra']],
|
||||
'no_homoglyph_names' => true,
|
||||
'no_leading_import_slash' => true,
|
||||
'no_leading_namespace_whitespace' => true,
|
||||
'no_mixed_echo_print' => ['use' => 'echo'],
|
||||
'no_multiline_whitespace_around_double_arrow' => true,
|
||||
'no_null_property_initialization' => true,
|
||||
'no_short_bool_cast' => true,
|
||||
'no_singleline_whitespace_before_semicolons' => true,
|
||||
'no_space_around_double_colon' => true,
|
||||
'no_spaces_after_function_name' => true,
|
||||
'no_spaces_around_offset' => ['positions' => ['inside', 'outside']],
|
||||
'no_spaces_inside_parenthesis' => true,
|
||||
'no_superfluous_elseif' => true,
|
||||
'no_superfluous_phpdoc_tags' => [
|
||||
'allow_mixed' => true,
|
||||
'allow_unused_params' => true,
|
||||
'remove_inheritdoc' => false,
|
||||
],
|
||||
'no_trailing_comma_in_singleline' => true,
|
||||
'no_trailing_whitespace' => true,
|
||||
'no_trailing_whitespace_in_comment' => true,
|
||||
'no_trailing_whitespace_in_string' => true,
|
||||
'no_unneeded_control_parentheses' => [
|
||||
'statements' => [
|
||||
'break',
|
||||
'clone',
|
||||
'continue',
|
||||
'echo_print',
|
||||
'return',
|
||||
'switch_case',
|
||||
'yield',
|
||||
],
|
||||
],
|
||||
'no_unneeded_curly_braces' => ['namespaces' => true],
|
||||
'no_unneeded_final_method' => ['private_methods' => true],
|
||||
'no_unneeded_import_alias' => true,
|
||||
'no_unreachable_default_argument_value' => true,
|
||||
'no_unset_cast' => true,
|
||||
'no_unset_on_property' => false,
|
||||
'no_unused_imports' => true,
|
||||
'no_useless_else' => true,
|
||||
'no_useless_return' => true,
|
||||
'no_useless_sprintf' => true,
|
||||
'no_whitespace_before_comma_in_array' => ['after_heredoc' => true],
|
||||
'no_whitespace_in_blank_line' => true,
|
||||
'non_printable_character' => ['use_escape_sequences_in_strings' => true],
|
||||
'normalize_index_brace' => true,
|
||||
'not_operator_with_space' => true,
|
||||
'not_operator_with_successor_space' => true,
|
||||
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
|
||||
'object_operator_without_whitespace' => true,
|
||||
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
|
||||
'ordered_class_elements' => [
|
||||
'order' => [
|
||||
'use_trait',
|
||||
'case',
|
||||
'constant_public',
|
||||
'constant_protected',
|
||||
'constant_private',
|
||||
'property_public',
|
||||
'property_protected',
|
||||
'property_private',
|
||||
'construct',
|
||||
'destruct',
|
||||
'magic',
|
||||
],
|
||||
'sort_algorithm' => 'none',
|
||||
],
|
||||
'ordered_imports' => [
|
||||
'sort_algorithm' => 'alpha',
|
||||
'imports_order' => ['class', 'function', 'const'],
|
||||
],
|
||||
'ordered_interfaces' => false,
|
||||
'ordered_traits' => false,
|
||||
'php_unit_construct' => [
|
||||
'assertions' => [
|
||||
'assertSame',
|
||||
'assertEquals',
|
||||
'assertNotEquals',
|
||||
'assertNotSame',
|
||||
],
|
||||
],
|
||||
'php_unit_dedicate_assert' => ['target' => 'newest'],
|
||||
'php_unit_dedicate_assert_internal_type' => ['target' => 'newest'],
|
||||
'php_unit_expectation' => ['target' => 'newest'],
|
||||
'php_unit_fqcn_annotation' => true,
|
||||
'php_unit_internal_class' => ['types' => ['final']],
|
||||
'php_unit_method_casing' => ['case' => 'camel_case'],
|
||||
'php_unit_mock' => ['target' => 'newest'],
|
||||
'php_unit_mock_short_will_return' => true,
|
||||
'php_unit_namespaced' => ['target' => 'newest'],
|
||||
'php_unit_no_expectation_annotation' => [
|
||||
'target' => 'newest',
|
||||
'use_class_const' => true,
|
||||
],
|
||||
'php_unit_set_up_tear_down_visibility' => true,
|
||||
'php_unit_size_class' => false,
|
||||
// 'php_unit_strict' => [
|
||||
// 'assertions' => [
|
||||
// 'assertAttributeEquals',
|
||||
// 'assertAttributeNotEquals',
|
||||
// 'assertEquals',
|
||||
// 'assertNotEquals',
|
||||
// ],
|
||||
// ],
|
||||
'php_unit_test_annotation' => ['style' => 'prefix'],
|
||||
'php_unit_test_case_static_method_calls' => [
|
||||
'call_type' => 'this',
|
||||
'methods' => [],
|
||||
],
|
||||
'php_unit_test_class_requires_covers' => false,
|
||||
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
|
||||
'phpdoc_align' => [
|
||||
'align' => 'left'
|
||||
],
|
||||
'phpdoc_annotation_without_dot' => false,
|
||||
'phpdoc_indent' => true,
|
||||
'phpdoc_inline_tag_normalizer' => [
|
||||
'tags' => [
|
||||
'example',
|
||||
'id',
|
||||
'internal',
|
||||
'inheritdoc',
|
||||
'inheritdocs',
|
||||
'link',
|
||||
'source',
|
||||
'toc',
|
||||
'tutorial',
|
||||
],
|
||||
],
|
||||
'phpdoc_line_span' => [
|
||||
'const' => 'multi',
|
||||
'method' => 'multi',
|
||||
'property' => 'multi',
|
||||
],
|
||||
'phpdoc_no_access' => true,
|
||||
'phpdoc_no_empty_return' => false,
|
||||
'phpdoc_no_package' => false,
|
||||
'phpdoc_no_useless_inheritdoc' => true,
|
||||
'phpdoc_order' => true,
|
||||
'phpdoc_order_by_value' => [
|
||||
'annotations' => [
|
||||
'author',
|
||||
'covers',
|
||||
'coversNothing',
|
||||
'dataProvider',
|
||||
'depends',
|
||||
'group',
|
||||
'internal',
|
||||
'method',
|
||||
'property',
|
||||
'property-read',
|
||||
'property-write',
|
||||
'requires',
|
||||
'throws',
|
||||
'uses',
|
||||
],
|
||||
],
|
||||
'phpdoc_return_self_reference' => [
|
||||
'replacements' => [
|
||||
'this' => '$this',
|
||||
'@this' => '$this',
|
||||
'$self' => 'self',
|
||||
'@self' => 'self',
|
||||
'$static' => 'static',
|
||||
'@static' => 'static',
|
||||
],
|
||||
],
|
||||
'phpdoc_scalar' => [
|
||||
'types' => [
|
||||
'boolean',
|
||||
'callback',
|
||||
'double',
|
||||
'integer',
|
||||
'real',
|
||||
'str',
|
||||
],
|
||||
],
|
||||
'phpdoc_separation' => false,
|
||||
'phpdoc_single_line_var_spacing' => true,
|
||||
'phpdoc_summary' => false,
|
||||
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],
|
||||
'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']],
|
||||
'phpdoc_to_comment' => false,
|
||||
'phpdoc_to_param_type' => false,
|
||||
'phpdoc_to_property_type' => false,
|
||||
'phpdoc_to_return_type' => false,
|
||||
'phpdoc_trim' => true,
|
||||
'phpdoc_trim_consecutive_blank_line_separation' => true,
|
||||
'phpdoc_types' => ['groups' => ['simple', 'alias', 'meta']],
|
||||
'phpdoc_types_order' => [
|
||||
'null_adjustment' => 'always_last',
|
||||
'sort_algorithm' => 'alpha',
|
||||
],
|
||||
'phpdoc_var_annotation_correct_order' => true,
|
||||
'phpdoc_var_without_name' => true,
|
||||
'pow_to_exponentiation' => true,
|
||||
'protected_to_private' => true,
|
||||
'psr_autoloading' => ['dir' => null],
|
||||
'random_api_migration' => [
|
||||
'replacements' => [
|
||||
'getrandmax' => 'mt_getrandmax',
|
||||
'rand' => 'mt_rand',
|
||||
'srand' => 'mt_srand',
|
||||
],
|
||||
],
|
||||
'regular_callable_call' => true,
|
||||
'return_assignment' => true,
|
||||
'return_type_declaration' => ['space_before' => 'none'],
|
||||
'self_accessor' => false,
|
||||
'self_static_accessor' => true,
|
||||
'semicolon_after_instruction' => false,
|
||||
'set_type_to_cast' => true,
|
||||
'short_scalar_cast' => true,
|
||||
'simple_to_complex_string_variable' => true,
|
||||
'simplified_if_return' => true,
|
||||
'simplified_null_return' => false,
|
||||
'single_blank_line_at_eof' => true,
|
||||
'single_blank_line_before_namespace' => true,
|
||||
'single_class_element_per_statement' => ['elements' => ['const', 'property']],
|
||||
'single_import_per_statement' => false,
|
||||
'single_line_after_imports' => true,
|
||||
'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']],
|
||||
'single_line_throw' => false,
|
||||
'single_quote' => ['strings_containing_single_quote_chars' => false],
|
||||
'single_space_after_construct' => [
|
||||
'constructs' => [
|
||||
'abstract',
|
||||
'as',
|
||||
'attribute',
|
||||
'break',
|
||||
'case',
|
||||
'catch',
|
||||
'class',
|
||||
'clone',
|
||||
'comment',
|
||||
'const',
|
||||
'const_import',
|
||||
'continue',
|
||||
'do',
|
||||
'echo',
|
||||
'else',
|
||||
'elseif',
|
||||
'extends',
|
||||
'final',
|
||||
'finally',
|
||||
'for',
|
||||
'foreach',
|
||||
'function',
|
||||
'function_import',
|
||||
'global',
|
||||
'goto',
|
||||
'if',
|
||||
'implements',
|
||||
'include',
|
||||
'include_once',
|
||||
'instanceof',
|
||||
'insteadof',
|
||||
'interface',
|
||||
'match',
|
||||
'named_argument',
|
||||
'new',
|
||||
'open_tag_with_echo',
|
||||
'php_doc',
|
||||
'php_open',
|
||||
'print',
|
||||
'private',
|
||||
'protected',
|
||||
'public',
|
||||
'require',
|
||||
'require_once',
|
||||
'return',
|
||||
'static',
|
||||
'throw',
|
||||
'trait',
|
||||
'try',
|
||||
'use',
|
||||
'use_lambda',
|
||||
'use_trait',
|
||||
'var',
|
||||
'while',
|
||||
'yield',
|
||||
'yield_from',
|
||||
],
|
||||
],
|
||||
'single_trait_insert_per_statement' => true,
|
||||
'space_after_semicolon' => ['remove_in_empty_for_expressions' => true],
|
||||
'standardize_increment' => true,
|
||||
'standardize_not_equals' => true,
|
||||
'static_lambda' => true,
|
||||
'strict_comparison' => true,
|
||||
'strict_param' => true,
|
||||
'string_length_to_empty' => true,
|
||||
'string_line_ending' => true,
|
||||
'switch_case_semicolon_to_colon' => true,
|
||||
'switch_case_space' => true,
|
||||
'switch_continue_to_break' => true,
|
||||
'ternary_operator_spaces' => true,
|
||||
'ternary_to_elvis_operator' => true,
|
||||
'ternary_to_null_coalescing' => true,
|
||||
'trailing_comma_in_multiline' => [
|
||||
'after_heredoc' => true,
|
||||
'elements' => ['arrays'],
|
||||
],
|
||||
'trim_array_spaces' => true,
|
||||
'types_spaces' => ['space' => 'none'],
|
||||
'unary_operator_spaces' => false,
|
||||
'use_arrow_functions' => true,
|
||||
'visibility_required' => ['elements' => ['const', 'method', 'property']],
|
||||
'void_return' => false, // changes method signature
|
||||
'whitespace_after_comma_in_array' => true,
|
||||
'yoda_style' => [
|
||||
'equal' => false,
|
||||
'identical' => null,
|
||||
'less_and_greater' => false,
|
||||
'always_move_variable' => false,
|
||||
],
|
||||
]);
|
@ -1,25 +0,0 @@
|
||||
imports:
|
||||
- php
|
||||
|
||||
tools:
|
||||
external_code_coverage:
|
||||
timeout: 1000
|
||||
# PHP
|
||||
|
||||
# Don't like PSR standards, not going to get messages for them!
|
||||
php_code_sniffer: false
|
||||
|
||||
php_sim: true
|
||||
# Can't be used with similarity analyzer
|
||||
php_cpd: false
|
||||
|
||||
php_mess_detector: true
|
||||
php_pdepend: true
|
||||
php_loc: true
|
||||
php_analyzer:
|
||||
config:
|
||||
metrics_lack_of_cohesion_methods:
|
||||
enabled: true
|
||||
doc_comment_fixes:
|
||||
enabled: true
|
||||
php_hhvm: true
|
43
.travis.yml
43
.travis.yml
@ -1,43 +0,0 @@
|
||||
dist: bionic
|
||||
os: linux
|
||||
|
||||
arch:
|
||||
- amd64
|
||||
- arm64
|
||||
- ppc64le
|
||||
|
||||
language: php
|
||||
|
||||
services:
|
||||
- mysql
|
||||
- postgresql
|
||||
|
||||
php:
|
||||
- nightly
|
||||
# - '8.0'
|
||||
- '8.1'
|
||||
- '8.2'
|
||||
# - '7.4'
|
||||
# - '8.0'
|
||||
|
||||
|
||||
before_script:
|
||||
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
|
||||
- psql -c 'create database test;' -U postgres
|
||||
- mysql -e 'create database IF NOT EXISTS test;'
|
||||
- composer install --ignore-platform-reqs
|
||||
|
||||
script:
|
||||
- mkdir -p build/logs
|
||||
- cd build
|
||||
- ../vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
|
||||
- cd ../
|
||||
|
||||
after_script:
|
||||
- wget https://scrutinizer-ci.com/ocular.phar
|
||||
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
||||
|
||||
jobs:
|
||||
allow_failures:
|
||||
- arch: ppc64le
|
||||
- php: nightly
|
@ -2,8 +2,6 @@
|
||||
|
||||
A query builder/database abstraction layer, using prepared statements for security.
|
||||
|
||||
[![Code Coverage](https://scrutinizer-ci.com/g/aviat4ion/Query/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/aviat4ion/Query/?branch=develop)
|
||||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/aviat4ion/Query/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/aviat4ion/Query/?branch=develop)
|
||||
[![Latest Stable Version](https://poser.pugx.org/aviat/query/v/stable.png)](https://packagist.org/packages/aviat/query)
|
||||
[![Total Downloads](https://poser.pugx.org/aviat/query/downloads.png)](https://packagist.org/packages/aviat/query)
|
||||
[![Latest Unstable Version](https://poser.pugx.org/aviat/query/v/unstable.png)](https://packagist.org/packages/aviat/query)
|
||||
|
305
RoboFile.php
305
RoboFile.php
@ -1,305 +0,0 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
use Robo\Tasks;
|
||||
|
||||
if ( ! function_exists('glob_recursive'))
|
||||
{
|
||||
// Does not support flag GLOB_BRACE
|
||||
function glob_recursive($pattern, $flags = 0)
|
||||
{
|
||||
$files = glob($pattern, $flags);
|
||||
|
||||
foreach (glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir)
|
||||
{
|
||||
$files = array_merge($files, glob_recursive($dir.'/'.basename($pattern), $flags));
|
||||
}
|
||||
|
||||
return $files;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This is project's console commands configuration for Robo task runner.
|
||||
*
|
||||
* @see http://robo.li/
|
||||
*/
|
||||
class RoboFile extends Tasks {
|
||||
|
||||
/**
|
||||
* Directories used by analysis tools
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $taskDirs = [
|
||||
'build/logs',
|
||||
'build/pdepend',
|
||||
'build/phpdox',
|
||||
];
|
||||
|
||||
/**
|
||||
* Directories to remove with the clean task
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $cleanDirs = [
|
||||
'coverage',
|
||||
'apiDocumentation',
|
||||
'phpdoc',
|
||||
'build/logs',
|
||||
'build/phpdox',
|
||||
'build/pdepend'
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* Do static analysis tasks
|
||||
*/
|
||||
public function analyze(): void
|
||||
{
|
||||
$this->prepare();
|
||||
$this->lint();
|
||||
$this->phploc(TRUE);
|
||||
$this->phpcs(TRUE);
|
||||
$this->phpmd(TRUE);
|
||||
$this->phpcpdReport();
|
||||
}
|
||||
|
||||
/**
|
||||
* Run all tests, generate coverage, generate docs, generate code statistics
|
||||
*/
|
||||
public function build(): void
|
||||
{
|
||||
$this->analyze();
|
||||
$this->coverage();
|
||||
$this->docs();
|
||||
}
|
||||
|
||||
/**
|
||||
* Cleanup temporary files
|
||||
*/
|
||||
public function clean(): void
|
||||
{
|
||||
// So the task doesn't complain,
|
||||
// make any 'missing' dirs to cleanup
|
||||
array_map(static function ($dir) {
|
||||
if ( ! is_dir($dir))
|
||||
{
|
||||
`mkdir -p {$dir}`;
|
||||
}
|
||||
}, $this->cleanDirs);
|
||||
|
||||
$this->_cleanDir($this->cleanDirs);
|
||||
$this->_deleteDir($this->cleanDirs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Run unit tests and generate coverage reports
|
||||
*/
|
||||
public function coverage(): void
|
||||
{
|
||||
$this->_run(['phpdbg -qrr -- vendor/bin/phpunit -c build']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate documentation with phpdox
|
||||
*/
|
||||
public function docs(): void
|
||||
{
|
||||
$this->_run(['tools/phpdox/vendor/bin/phpdox']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that source files are valid
|
||||
*/
|
||||
public function lint(): void
|
||||
{
|
||||
$files = $this->getAllSourceFiles();
|
||||
|
||||
$chunks = array_chunk($files, (int)shell_exec('getconf _NPROCESSORS_ONLN'));
|
||||
|
||||
foreach($chunks as $chunk)
|
||||
{
|
||||
$this->parallelLint($chunk);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the phpcs tool
|
||||
*
|
||||
* @param bool $report - if true, generates reports instead of direct output
|
||||
*/
|
||||
public function phpcs(bool $report = FALSE): void
|
||||
{
|
||||
$dir = __DIR__;
|
||||
|
||||
$report_cmd_parts = [
|
||||
'tools/vendor/bin/phpcs',
|
||||
"--standard=./build/CodeIgniter",
|
||||
"--report-checkstyle=./build/logs/phpcs.xml",
|
||||
];
|
||||
|
||||
$normal_cmd_parts = [
|
||||
'tools/vendor/bin/phpcs',
|
||||
"--standard=./build/CodeIgniter",
|
||||
];
|
||||
|
||||
$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;
|
||||
|
||||
$this->_run($cmd_parts);
|
||||
}
|
||||
|
||||
public function phpmd(bool $report = FALSE): void
|
||||
{
|
||||
$report_cmd_parts = [
|
||||
'tools/vendor/bin/phpmd',
|
||||
'./src',
|
||||
'xml',
|
||||
'cleancode,codesize,controversial,design,naming,unusedcode',
|
||||
'--exclude ParallelAPIRequest',
|
||||
'--reportfile ./build/logs/phpmd.xml'
|
||||
];
|
||||
|
||||
$normal_cmd_parts = [
|
||||
'tools/vendor/bin/phpmd',
|
||||
'./src',
|
||||
'ansi',
|
||||
'cleancode,codesize,controversial,design,naming,unusedcode',
|
||||
'--exclude ParallelAPIRequest'
|
||||
];
|
||||
|
||||
$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;
|
||||
|
||||
$this->_run($cmd_parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the phploc tool
|
||||
*
|
||||
* @param bool $report - if true, generates reports instead of direct output
|
||||
*/
|
||||
public function phploc($report = FALSE): void
|
||||
{
|
||||
// Command for generating reports
|
||||
$report_cmd_parts = [
|
||||
'tools/vendor/bin/phploc',
|
||||
'--count-tests',
|
||||
'--log-csv=build/logs/phploc.csv',
|
||||
'--log-xml=build/logs/phploc.xml',
|
||||
'src',
|
||||
'tests'
|
||||
];
|
||||
|
||||
// Command for generating direct output
|
||||
$normal_cmd_parts = [
|
||||
'tools/vendor/bin/phploc',
|
||||
'--count-tests',
|
||||
'src',
|
||||
'tests'
|
||||
];
|
||||
|
||||
$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;
|
||||
|
||||
$this->_run($cmd_parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create temporary directories
|
||||
*/
|
||||
public function prepare(): void
|
||||
{
|
||||
array_map([$this, '_mkdir'], $this->taskDirs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lint php files and run unit tests
|
||||
*/
|
||||
public function test(): void
|
||||
{
|
||||
$this->lint();
|
||||
$this->taskPhpUnit()
|
||||
->configFile('build/phpunit.xml')
|
||||
->run();
|
||||
$this->_run(["php tests/index.php"]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Watches for file updates, and automatically runs appropriate actions
|
||||
*/
|
||||
public function watch(): void
|
||||
{
|
||||
$this->taskWatch()
|
||||
->monitor('composer.json', function() {
|
||||
$this->taskComposerUpdate()->run();
|
||||
})
|
||||
->monitor('src', function () {
|
||||
$this->taskExec('test')->run();
|
||||
})
|
||||
->monitor('tests', function () {
|
||||
$this->taskExec('test')->run();
|
||||
})
|
||||
->run();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the total list of source files, including tests
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getAllSourceFiles(): array
|
||||
{
|
||||
$files = array_merge(
|
||||
glob_recursive('build/*.php'),
|
||||
glob_recursive('src/*.php'),
|
||||
glob_recursive('tests/*.php'),
|
||||
glob('*.php')
|
||||
);
|
||||
|
||||
sort($files);
|
||||
|
||||
return $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run php's linter in one parallel task for the passed chunk
|
||||
*
|
||||
* @param array $chunk
|
||||
*/
|
||||
protected function parallelLint(array $chunk): void
|
||||
{
|
||||
$task = $this->taskParallelExec()
|
||||
->timeout(5)
|
||||
->printed(FALSE);
|
||||
|
||||
foreach($chunk as $file)
|
||||
{
|
||||
$task = $task->process("php -l {$file}");
|
||||
}
|
||||
|
||||
$task->run();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate copy paste detector report
|
||||
*/
|
||||
protected function phpcpdReport(): void
|
||||
{
|
||||
$cmd_parts = [
|
||||
'tools/vendor/bin/phpcpd',
|
||||
'--log-pmd build/logs/pmd-cpd.xml',
|
||||
'src'
|
||||
];
|
||||
$this->_run($cmd_parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcut for joining an array of command arguments
|
||||
* and then running it
|
||||
*
|
||||
* @param array $cmd_parts - command arguments
|
||||
* @param string $join_on - what to join the command arguments with
|
||||
*/
|
||||
protected function _run(array $cmd_parts, $join_on = ' '): void
|
||||
{
|
||||
$this->taskExec(implode($join_on, $cmd_parts))->run();
|
||||
}
|
||||
}
|
@ -115,9 +115,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Connection manager class to manage connections for the
|
||||
@ -212,9 +212,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
<span class="phpdocumentor-element-found-in__line">54</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.54" class="phpdocumentor-element-found-in__source" data-line="54" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Private clone method to prevent cloning</p>
|
||||
@ -260,9 +260,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">61</span>
|
||||
<span class="phpdocumentor-element-found-in__line">64</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.64" class="phpdocumentor-element-found-in__source" data-line="64" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Prevent serialization of this object</p>
|
||||
@ -308,9 +308,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Make sure serialize/deserialize doesn't work</p>
|
||||
@ -356,9 +356,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||
<span class="phpdocumentor-element-found-in__line">119</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.120" class="phpdocumentor-element-found-in__source" data-line="120" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.119" class="phpdocumentor-element-found-in__source" data-line="119" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Parse the passed parameters and return a connection</p>
|
||||
@ -375,6 +375,7 @@ Query method</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -400,9 +401,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">97</span>
|
||||
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.97" class="phpdocumentor-element-found-in__source" data-line="97" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns the connection specified by the name given</p>
|
||||
@ -419,6 +420,7 @@ Query method</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -458,9 +460,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">81</span>
|
||||
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.81" class="phpdocumentor-element-found-in__source" data-line="81" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return a connection manager instance</p>
|
||||
@ -507,9 +509,9 @@ Query method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/ConnectionManager.php"><a href="files/src-connectionmanager.html"><abbr title="src/ConnectionManager.php">ConnectionManager.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
<span class="phpdocumentor-element-found-in__line">158</span>
|
||||
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
<a href="classes/Query-ConnectionManager.html#source-view.158" class="phpdocumentor-element-found-in__source" data-line="158" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Parses params into a dsn and option array</p>
|
||||
@ -526,6 +528,7 @@ Query method</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|object</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
@ -122,9 +122,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">32</span>
|
||||
<span class="phpdocumentor-element-found-in__line">34</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.32" class="phpdocumentor-element-found-in__source" data-line="32" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.34" class="phpdocumentor-element-found-in__source" data-line="34" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Base Database class</p>
|
||||
@ -422,9 +422,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Allow invoke to work on table object</p>
|
||||
@ -455,19 +455,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -497,7 +484,7 @@ the connection/database</dd>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -512,7 +499,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$username</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -520,7 +507,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$password</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -557,9 +544,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">599</span>
|
||||
<span class="phpdocumentor-element-found-in__line">603</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.599" class="phpdocumentor-element-found-in__source" data-line="599" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.603" class="phpdocumentor-element-found-in__source" data-line="603" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Helper method for quote_ident</p>
|
||||
@ -576,6 +563,7 @@ the connection/database</dd>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -601,9 +589,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">210</span>
|
||||
<span class="phpdocumentor-element-found-in__line">209</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.210" class="phpdocumentor-element-found-in__source" data-line="210" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.209" class="phpdocumentor-element-found-in__source" data-line="209" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns number of rows affected by an INSERT, UPDATE, DELETE type query</p>
|
||||
@ -635,9 +623,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">422</span>
|
||||
<span class="phpdocumentor-element-found-in__line">424</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.422" class="phpdocumentor-element-found-in__source" data-line="422" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.424" class="phpdocumentor-element-found-in__source" data-line="424" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Method to simplify retrieving db results for meta-data queries</p>
|
||||
@ -688,9 +676,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">382</span>
|
||||
<span class="phpdocumentor-element-found-in__line">384</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.382" class="phpdocumentor-element-found-in__source" data-line="382" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.384" class="phpdocumentor-element-found-in__source" data-line="384" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve column information for the current database table</p>
|
||||
@ -733,9 +721,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">317</span>
|
||||
<span class="phpdocumentor-element-found-in__line">318</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.317" class="phpdocumentor-element-found-in__source" data-line="317" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.318" class="phpdocumentor-element-found-in__source" data-line="318" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of dbs for the current connection, if possible</p>
|
||||
@ -767,9 +755,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">390</span>
|
||||
<span class="phpdocumentor-element-found-in__line">392</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.390" class="phpdocumentor-element-found-in__source" data-line="390" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.392" class="phpdocumentor-element-found-in__source" data-line="392" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve foreign keys for the table</p>
|
||||
@ -812,9 +800,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">345</span>
|
||||
<span class="phpdocumentor-element-found-in__line">347</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.345" class="phpdocumentor-element-found-in__source" data-line="345" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.347" class="phpdocumentor-element-found-in__source" data-line="347" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of functions for the current database</p>
|
||||
@ -861,9 +849,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">398</span>
|
||||
<span class="phpdocumentor-element-found-in__line">400</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.398" class="phpdocumentor-element-found-in__source" data-line="398" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.400" class="phpdocumentor-element-found-in__source" data-line="400" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve indexes for the table</p>
|
||||
@ -906,9 +894,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">131</span>
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the last sql query executed</p>
|
||||
@ -940,9 +928,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">355</span>
|
||||
<span class="phpdocumentor-element-found-in__line">357</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.355" class="phpdocumentor-element-found-in__source" data-line="355" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.357" class="phpdocumentor-element-found-in__source" data-line="357" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of stored procedures for the current database</p>
|
||||
@ -1023,9 +1011,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">335</span>
|
||||
<span class="phpdocumentor-element-found-in__line">337</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.337" class="phpdocumentor-element-found-in__source" data-line="337" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of sequences for the current database, if they exist</p>
|
||||
@ -1057,9 +1045,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the SQL class for the current driver</p>
|
||||
@ -1091,9 +1079,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">374</span>
|
||||
<span class="phpdocumentor-element-found-in__line">376</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.374" class="phpdocumentor-element-found-in__source" data-line="374" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.376" class="phpdocumentor-element-found-in__source" data-line="376" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieves an array of non-user-created tables for
|
||||
@ -1160,9 +1148,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">365</span>
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.365" class="phpdocumentor-element-found-in__source" data-line="365" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of triggers for the current database</p>
|
||||
@ -1209,9 +1197,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">406</span>
|
||||
<span class="phpdocumentor-element-found-in__line">408</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.406" class="phpdocumentor-element-found-in__source" data-line="406" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.408" class="phpdocumentor-element-found-in__source" data-line="408" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve list of data types for the database</p>
|
||||
@ -1243,9 +1231,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||
<span class="phpdocumentor-element-found-in__line">154</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the Util class for the current driver</p>
|
||||
@ -1277,9 +1265,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">414</span>
|
||||
<span class="phpdocumentor-element-found-in__line">416</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.414" class="phpdocumentor-element-found-in__source" data-line="414" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the version of the database engine</p>
|
||||
@ -1311,9 +1299,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">325</span>
|
||||
<span class="phpdocumentor-element-found-in__line">326</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.325" class="phpdocumentor-element-found-in__source" data-line="325" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of views for the current database</p>
|
||||
@ -1345,9 +1333,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">468</span>
|
||||
<span class="phpdocumentor-element-found-in__line">471</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.468" class="phpdocumentor-element-found-in__source" data-line="468" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.471" class="phpdocumentor-element-found-in__source" data-line="471" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create sql for batch insert</p>
|
||||
@ -1398,9 +1386,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">451</span>
|
||||
<span class="phpdocumentor-element-found-in__line">453</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.451" class="phpdocumentor-element-found-in__source" data-line="451" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.453" class="phpdocumentor-element-found-in__source" data-line="453" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return the number of rows returned for a SELECT query</p>
|
||||
@ -1446,9 +1434,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Prefixes a table if it is not already prefixed</p>
|
||||
@ -1491,9 +1479,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">198</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.198" class="phpdocumentor-element-found-in__source" data-line="198" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create and execute a prepared statement with the provided parameters</p>
|
||||
@ -1558,9 +1546,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">174</span>
|
||||
<span class="phpdocumentor-element-found-in__line">173</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.174" class="phpdocumentor-element-found-in__source" data-line="174" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.173" class="phpdocumentor-element-found-in__source" data-line="173" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Simplifies prepared statements for database queries</p>
|
||||
@ -1611,9 +1599,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">257</span>
|
||||
<span class="phpdocumentor-element-found-in__line">256</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.257" class="phpdocumentor-element-found-in__source" data-line="257" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Surrounds the string with the databases identifier escape characters</p>
|
||||
@ -1656,9 +1644,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">246</span>
|
||||
<span class="phpdocumentor-element-found-in__line">245</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.246" class="phpdocumentor-element-found-in__source" data-line="246" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.245" class="phpdocumentor-element-found-in__source" data-line="245" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Quote database table name, and set prefix</p>
|
||||
@ -1701,9 +1689,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">588</span>
|
||||
<span class="phpdocumentor-element-found-in__line">595</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.588" class="phpdocumentor-element-found-in__source" data-line="588" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.595" class="phpdocumentor-element-found-in__source" data-line="595" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generate the returning clause for the current database</p>
|
||||
@ -1754,9 +1742,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">139</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.139" class="phpdocumentor-element-found-in__source" data-line="139" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the last query sql</p>
|
||||
@ -1799,9 +1787,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">163</span>
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the common table name prefix</p>
|
||||
@ -1844,9 +1832,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">573</span>
|
||||
<span class="phpdocumentor-element-found-in__line">579</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.573" class="phpdocumentor-element-found-in__source" data-line="573" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.579" class="phpdocumentor-element-found-in__source" data-line="579" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Empty the passed table</p>
|
||||
@ -1889,9 +1877,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">506</span>
|
||||
<span class="phpdocumentor-element-found-in__line">510</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.506" class="phpdocumentor-element-found-in__source" data-line="506" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractDriver.html#source-view.510" class="phpdocumentor-element-found-in__source" data-line="510" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
|
@ -119,9 +119,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Parent for database-specific syntax subclasses</p>
|
||||
@ -185,9 +185,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractSQL.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Limit clause</p>
|
||||
|
@ -116,9 +116,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Abstract class defining database / table creation methods</p>
|
||||
@ -205,9 +205,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||
@ -264,19 +264,6 @@
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">abstract</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">string</span>
|
||||
@ -297,9 +284,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">91</span>
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.91" class="phpdocumentor-element-found-in__source" data-line="91" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return an SQL file with the database table structure</p>
|
||||
@ -311,19 +298,6 @@
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">abstract</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">string</span>
|
||||
@ -344,9 +318,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||
@ -413,9 +387,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">78</span>
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.78" class="phpdocumentor-element-found-in__source" data-line="78" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||
@ -458,9 +432,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-AbstractUtil.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||
|
@ -385,7 +385,7 @@ the connection/database</dd>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -400,7 +400,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$username</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -408,7 +408,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$password</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Driver.php"><a href="files/src-drivers-mysql-driver.html"><abbr title="src/Drivers/Mysql/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">MySQL specific class</p>
|
||||
@ -406,9 +406,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Allow invoke to work on table object</p>
|
||||
@ -439,19 +439,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -481,7 +468,7 @@ the connection/database</dd>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -496,7 +483,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$username</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -504,7 +491,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$password</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -521,19 +508,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -554,9 +528,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">599</span>
|
||||
<span class="phpdocumentor-element-found-in__line">603</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.599" class="phpdocumentor-element-found-in__source" data-line="599" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.603" class="phpdocumentor-element-found-in__source" data-line="603" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Helper method for quote_ident</p>
|
||||
@ -573,6 +547,7 @@ the connection/database</dd>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -598,9 +573,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">210</span>
|
||||
<span class="phpdocumentor-element-found-in__line">209</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.210" class="phpdocumentor-element-found-in__source" data-line="210" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.209" class="phpdocumentor-element-found-in__source" data-line="209" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns number of rows affected by an INSERT, UPDATE, DELETE type query</p>
|
||||
@ -632,9 +607,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">422</span>
|
||||
<span class="phpdocumentor-element-found-in__line">424</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.422" class="phpdocumentor-element-found-in__source" data-line="422" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.424" class="phpdocumentor-element-found-in__source" data-line="424" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Method to simplify retrieving db results for meta-data queries</p>
|
||||
@ -685,9 +660,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">382</span>
|
||||
<span class="phpdocumentor-element-found-in__line">384</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.382" class="phpdocumentor-element-found-in__source" data-line="382" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.384" class="phpdocumentor-element-found-in__source" data-line="384" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve column information for the current database table</p>
|
||||
@ -730,9 +705,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">317</span>
|
||||
<span class="phpdocumentor-element-found-in__line">318</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.317" class="phpdocumentor-element-found-in__source" data-line="317" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.318" class="phpdocumentor-element-found-in__source" data-line="318" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of dbs for the current connection, if possible</p>
|
||||
@ -764,9 +739,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">390</span>
|
||||
<span class="phpdocumentor-element-found-in__line">392</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.390" class="phpdocumentor-element-found-in__source" data-line="390" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.392" class="phpdocumentor-element-found-in__source" data-line="392" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve foreign keys for the table</p>
|
||||
@ -809,9 +784,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">345</span>
|
||||
<span class="phpdocumentor-element-found-in__line">347</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.345" class="phpdocumentor-element-found-in__source" data-line="345" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.347" class="phpdocumentor-element-found-in__source" data-line="347" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of functions for the current database</p>
|
||||
@ -858,9 +833,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">398</span>
|
||||
<span class="phpdocumentor-element-found-in__line">400</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.398" class="phpdocumentor-element-found-in__source" data-line="398" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.400" class="phpdocumentor-element-found-in__source" data-line="400" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve indexes for the table</p>
|
||||
@ -903,9 +878,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">131</span>
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the last sql query executed</p>
|
||||
@ -937,9 +912,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">355</span>
|
||||
<span class="phpdocumentor-element-found-in__line">357</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.355" class="phpdocumentor-element-found-in__source" data-line="355" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.357" class="phpdocumentor-element-found-in__source" data-line="357" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of stored procedures for the current database</p>
|
||||
@ -1020,9 +995,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">335</span>
|
||||
<span class="phpdocumentor-element-found-in__line">337</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.337" class="phpdocumentor-element-found-in__source" data-line="337" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of sequences for the current database, if they exist</p>
|
||||
@ -1054,9 +1029,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the SQL class for the current driver</p>
|
||||
@ -1088,9 +1063,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">374</span>
|
||||
<span class="phpdocumentor-element-found-in__line">376</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.374" class="phpdocumentor-element-found-in__source" data-line="374" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.376" class="phpdocumentor-element-found-in__source" data-line="376" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieves an array of non-user-created tables for
|
||||
@ -1157,9 +1132,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">365</span>
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.365" class="phpdocumentor-element-found-in__source" data-line="365" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of triggers for the current database</p>
|
||||
@ -1206,9 +1181,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">406</span>
|
||||
<span class="phpdocumentor-element-found-in__line">408</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.406" class="phpdocumentor-element-found-in__source" data-line="406" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.408" class="phpdocumentor-element-found-in__source" data-line="408" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve list of data types for the database</p>
|
||||
@ -1240,9 +1215,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||
<span class="phpdocumentor-element-found-in__line">154</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the Util class for the current driver</p>
|
||||
@ -1274,9 +1249,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">414</span>
|
||||
<span class="phpdocumentor-element-found-in__line">416</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.414" class="phpdocumentor-element-found-in__source" data-line="414" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the version of the database engine</p>
|
||||
@ -1308,9 +1283,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">325</span>
|
||||
<span class="phpdocumentor-element-found-in__line">326</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.325" class="phpdocumentor-element-found-in__source" data-line="325" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of views for the current database</p>
|
||||
@ -1342,9 +1317,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">468</span>
|
||||
<span class="phpdocumentor-element-found-in__line">471</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.468" class="phpdocumentor-element-found-in__source" data-line="468" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.471" class="phpdocumentor-element-found-in__source" data-line="471" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create sql for batch insert</p>
|
||||
@ -1395,9 +1370,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">451</span>
|
||||
<span class="phpdocumentor-element-found-in__line">453</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.451" class="phpdocumentor-element-found-in__source" data-line="451" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.453" class="phpdocumentor-element-found-in__source" data-line="453" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return the number of rows returned for a SELECT query</p>
|
||||
@ -1443,9 +1418,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Prefixes a table if it is not already prefixed</p>
|
||||
@ -1488,9 +1463,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">198</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.198" class="phpdocumentor-element-found-in__source" data-line="198" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create and execute a prepared statement with the provided parameters</p>
|
||||
@ -1555,9 +1530,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">174</span>
|
||||
<span class="phpdocumentor-element-found-in__line">173</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.174" class="phpdocumentor-element-found-in__source" data-line="174" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.173" class="phpdocumentor-element-found-in__source" data-line="173" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Simplifies prepared statements for database queries</p>
|
||||
@ -1608,9 +1583,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">257</span>
|
||||
<span class="phpdocumentor-element-found-in__line">256</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.257" class="phpdocumentor-element-found-in__source" data-line="257" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Surrounds the string with the databases identifier escape characters</p>
|
||||
@ -1653,9 +1628,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">246</span>
|
||||
<span class="phpdocumentor-element-found-in__line">245</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.246" class="phpdocumentor-element-found-in__source" data-line="246" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.245" class="phpdocumentor-element-found-in__source" data-line="245" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Quote database table name, and set prefix</p>
|
||||
@ -1698,9 +1673,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Driver.php"><a href="files/src-drivers-mysql-driver.html"><abbr title="src/Drivers/Mysql/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">63</span>
|
||||
<span class="phpdocumentor-element-found-in__line">64</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.63" class="phpdocumentor-element-found-in__source" data-line="63" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.64" class="phpdocumentor-element-found-in__source" data-line="64" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generate the returning clause for the current database</p>
|
||||
@ -1751,9 +1726,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">139</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.139" class="phpdocumentor-element-found-in__source" data-line="139" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the last query sql</p>
|
||||
@ -1796,9 +1771,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">163</span>
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the common table name prefix</p>
|
||||
@ -1841,9 +1816,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">573</span>
|
||||
<span class="phpdocumentor-element-found-in__line">579</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.573" class="phpdocumentor-element-found-in__source" data-line="573" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.579" class="phpdocumentor-element-found-in__source" data-line="579" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Empty the passed table</p>
|
||||
@ -1886,9 +1861,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">506</span>
|
||||
<span class="phpdocumentor-element-found-in__line">510</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.506" class="phpdocumentor-element-found-in__source" data-line="506" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Driver.html#source-view.510" class="phpdocumentor-element-found-in__source" data-line="510" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">MySQL specific SQL</p>
|
||||
@ -273,9 +273,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">148</span>
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.148" class="phpdocumentor-element-found-in__source" data-line="148" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQL to show information about columns in a table</p>
|
||||
@ -318,9 +318,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||
<span class="phpdocumentor-element-found-in__line">59</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.59" class="phpdocumentor-element-found-in__source" data-line="59" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list other databases</p>
|
||||
@ -352,9 +352,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">43</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.43" class="phpdocumentor-element-found-in__source" data-line="43" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the query plan for the sql query</p>
|
||||
@ -397,9 +397,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">157</span>
|
||||
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.157" class="phpdocumentor-element-found-in__source" data-line="157" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||
@ -443,9 +443,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">114</span>
|
||||
<span class="phpdocumentor-element-found-in__line">112</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.114" class="phpdocumentor-element-found-in__source" data-line="114" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.112" class="phpdocumentor-element-found-in__source" data-line="112" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||
@ -457,19 +457,6 @@ table</p>
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">string</span>
|
||||
@ -490,9 +477,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">179</span>
|
||||
<span class="phpdocumentor-element-found-in__line">177</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.179" class="phpdocumentor-element-found-in__source" data-line="179" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.177" class="phpdocumentor-element-found-in__source" data-line="177" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of indexes for the current table</p>
|
||||
@ -535,9 +522,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Limit clause</p>
|
||||
@ -596,9 +583,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">124</span>
|
||||
<span class="phpdocumentor-element-found-in__line">121</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.124" class="phpdocumentor-element-found-in__source" data-line="124" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.121" class="phpdocumentor-element-found-in__source" data-line="121" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||
@ -610,19 +597,6 @@ table</p>
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">string</span>
|
||||
@ -643,9 +617,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">49</span>
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.49" class="phpdocumentor-element-found-in__source" data-line="49" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Random ordering keyword</p>
|
||||
@ -677,9 +651,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">132</span>
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.132" class="phpdocumentor-element-found-in__source" data-line="132" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||
@ -711,9 +685,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">83</span>
|
||||
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.83" class="phpdocumentor-element-found-in__source" data-line="83" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Overridden in MySQL class</p>
|
||||
@ -745,9 +719,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">68</span>
|
||||
<span class="phpdocumentor-element-found-in__line">69</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.68" class="phpdocumentor-element-found-in__source" data-line="68" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.69" class="phpdocumentor-element-found-in__source" data-line="69" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||
@ -790,9 +764,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">104</span>
|
||||
<span class="phpdocumentor-element-found-in__line">103</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.104" class="phpdocumentor-element-found-in__source" data-line="104" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.103" class="phpdocumentor-element-found-in__source" data-line="103" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||
@ -804,19 +778,6 @@ table</p>
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">string</span>
|
||||
@ -837,9 +798,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">140</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.140" class="phpdocumentor-element-found-in__source" data-line="140" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQL to show list of field types</p>
|
||||
@ -871,9 +832,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/SQL.php"><a href="files/src-drivers-mysql-sql.html"><abbr title="src/Drivers/Mysql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">94</span>
|
||||
<span class="phpdocumentor-element-found-in__line">95</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-SQL.html#source-view.95" class="phpdocumentor-element-found-in__source" data-line="95" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Util.php"><a href="files/src-drivers-mysql-util.html"><abbr title="src/Drivers/Mysql/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">MySQL-specific backup, import and creation methods</p>
|
||||
@ -209,9 +209,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||
@ -299,9 +299,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Mysql/Util.php"><a href="files/src-drivers-mysql-util.html"><abbr title="src/Drivers/Mysql/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's structure</p>
|
||||
@ -333,9 +333,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||
@ -402,9 +402,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">78</span>
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.78" class="phpdocumentor-element-found-in__source" data-line="78" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||
@ -447,9 +447,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Mysql-Util.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Driver.php"><a href="files/src-drivers-pgsql-driver.html"><abbr title="src/Drivers/Pgsql/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">PostgreSQL specific class</p>
|
||||
@ -406,9 +406,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Allow invoke to work on table object</p>
|
||||
@ -439,19 +439,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -481,7 +468,7 @@ the connection/database</dd>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$username</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -496,7 +483,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$username</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -504,7 +491,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$password</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -521,19 +508,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -554,9 +528,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">599</span>
|
||||
<span class="phpdocumentor-element-found-in__line">603</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.599" class="phpdocumentor-element-found-in__source" data-line="599" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.603" class="phpdocumentor-element-found-in__source" data-line="603" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Helper method for quote_ident</p>
|
||||
@ -573,6 +547,7 @@ the connection/database</dd>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -598,9 +573,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">210</span>
|
||||
<span class="phpdocumentor-element-found-in__line">209</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.210" class="phpdocumentor-element-found-in__source" data-line="210" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.209" class="phpdocumentor-element-found-in__source" data-line="209" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns number of rows affected by an INSERT, UPDATE, DELETE type query</p>
|
||||
@ -632,9 +607,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">422</span>
|
||||
<span class="phpdocumentor-element-found-in__line">424</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.422" class="phpdocumentor-element-found-in__source" data-line="422" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.424" class="phpdocumentor-element-found-in__source" data-line="424" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Method to simplify retrieving db results for meta-data queries</p>
|
||||
@ -685,9 +660,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">382</span>
|
||||
<span class="phpdocumentor-element-found-in__line">384</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.382" class="phpdocumentor-element-found-in__source" data-line="382" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.384" class="phpdocumentor-element-found-in__source" data-line="384" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve column information for the current database table</p>
|
||||
@ -730,9 +705,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">317</span>
|
||||
<span class="phpdocumentor-element-found-in__line">318</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.317" class="phpdocumentor-element-found-in__source" data-line="317" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.318" class="phpdocumentor-element-found-in__source" data-line="318" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of dbs for the current connection, if possible</p>
|
||||
@ -764,9 +739,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Driver.php"><a href="files/src-drivers-pgsql-driver.html"><abbr title="src/Drivers/Pgsql/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||
<span class="phpdocumentor-element-found-in__line">58</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.58" class="phpdocumentor-element-found-in__source" data-line="58" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve foreign keys for the table</p>
|
||||
@ -809,9 +784,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">345</span>
|
||||
<span class="phpdocumentor-element-found-in__line">347</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.345" class="phpdocumentor-element-found-in__source" data-line="345" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.347" class="phpdocumentor-element-found-in__source" data-line="347" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of functions for the current database</p>
|
||||
@ -858,9 +833,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">398</span>
|
||||
<span class="phpdocumentor-element-found-in__line">400</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.398" class="phpdocumentor-element-found-in__source" data-line="398" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.400" class="phpdocumentor-element-found-in__source" data-line="400" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve indexes for the table</p>
|
||||
@ -903,9 +878,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">131</span>
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the last sql query executed</p>
|
||||
@ -937,9 +912,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">355</span>
|
||||
<span class="phpdocumentor-element-found-in__line">357</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.355" class="phpdocumentor-element-found-in__source" data-line="355" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.357" class="phpdocumentor-element-found-in__source" data-line="357" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of stored procedures for the current database</p>
|
||||
@ -986,9 +961,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Driver.php"><a href="files/src-drivers-pgsql-driver.html"><abbr title="src/Drivers/Pgsql/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">43</span>
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.43" class="phpdocumentor-element-found-in__source" data-line="43" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get a list of schemas for the current connection</p>
|
||||
@ -1020,9 +995,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">335</span>
|
||||
<span class="phpdocumentor-element-found-in__line">337</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.337" class="phpdocumentor-element-found-in__source" data-line="337" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of sequences for the current database, if they exist</p>
|
||||
@ -1054,9 +1029,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the SQL class for the current driver</p>
|
||||
@ -1088,9 +1063,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">374</span>
|
||||
<span class="phpdocumentor-element-found-in__line">376</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.374" class="phpdocumentor-element-found-in__source" data-line="374" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.376" class="phpdocumentor-element-found-in__source" data-line="376" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieves an array of non-user-created tables for
|
||||
@ -1157,9 +1132,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">365</span>
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.365" class="phpdocumentor-element-found-in__source" data-line="365" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of triggers for the current database</p>
|
||||
@ -1206,9 +1181,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">406</span>
|
||||
<span class="phpdocumentor-element-found-in__line">408</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.406" class="phpdocumentor-element-found-in__source" data-line="406" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.408" class="phpdocumentor-element-found-in__source" data-line="408" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve list of data types for the database</p>
|
||||
@ -1240,9 +1215,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||
<span class="phpdocumentor-element-found-in__line">154</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the Util class for the current driver</p>
|
||||
@ -1274,9 +1249,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">414</span>
|
||||
<span class="phpdocumentor-element-found-in__line">416</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.414" class="phpdocumentor-element-found-in__source" data-line="414" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the version of the database engine</p>
|
||||
@ -1308,9 +1283,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">325</span>
|
||||
<span class="phpdocumentor-element-found-in__line">326</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.325" class="phpdocumentor-element-found-in__source" data-line="325" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of views for the current database</p>
|
||||
@ -1342,9 +1317,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">468</span>
|
||||
<span class="phpdocumentor-element-found-in__line">471</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.468" class="phpdocumentor-element-found-in__source" data-line="468" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.471" class="phpdocumentor-element-found-in__source" data-line="471" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create sql for batch insert</p>
|
||||
@ -1395,9 +1370,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">451</span>
|
||||
<span class="phpdocumentor-element-found-in__line">453</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.451" class="phpdocumentor-element-found-in__source" data-line="451" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.453" class="phpdocumentor-element-found-in__source" data-line="453" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return the number of rows returned for a SELECT query</p>
|
||||
@ -1443,9 +1418,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Prefixes a table if it is not already prefixed</p>
|
||||
@ -1488,9 +1463,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">198</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.198" class="phpdocumentor-element-found-in__source" data-line="198" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create and execute a prepared statement with the provided parameters</p>
|
||||
@ -1555,9 +1530,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">174</span>
|
||||
<span class="phpdocumentor-element-found-in__line">173</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.174" class="phpdocumentor-element-found-in__source" data-line="174" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.173" class="phpdocumentor-element-found-in__source" data-line="173" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Simplifies prepared statements for database queries</p>
|
||||
@ -1608,9 +1583,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">257</span>
|
||||
<span class="phpdocumentor-element-found-in__line">256</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.257" class="phpdocumentor-element-found-in__source" data-line="257" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Surrounds the string with the databases identifier escape characters</p>
|
||||
@ -1653,9 +1628,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">246</span>
|
||||
<span class="phpdocumentor-element-found-in__line">245</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.246" class="phpdocumentor-element-found-in__source" data-line="246" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.245" class="phpdocumentor-element-found-in__source" data-line="245" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Quote database table name, and set prefix</p>
|
||||
@ -1698,9 +1673,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">588</span>
|
||||
<span class="phpdocumentor-element-found-in__line">595</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.588" class="phpdocumentor-element-found-in__source" data-line="588" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.595" class="phpdocumentor-element-found-in__source" data-line="595" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generate the returning clause for the current database</p>
|
||||
@ -1751,9 +1726,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">139</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.139" class="phpdocumentor-element-found-in__source" data-line="139" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the last query sql</p>
|
||||
@ -1796,9 +1771,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">163</span>
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the common table name prefix</p>
|
||||
@ -1841,9 +1816,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">573</span>
|
||||
<span class="phpdocumentor-element-found-in__line">579</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.573" class="phpdocumentor-element-found-in__source" data-line="573" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.579" class="phpdocumentor-element-found-in__source" data-line="579" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Empty the passed table</p>
|
||||
@ -1886,9 +1861,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">506</span>
|
||||
<span class="phpdocumentor-element-found-in__line">510</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.506" class="phpdocumentor-element-found-in__source" data-line="506" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Driver.html#source-view.510" class="phpdocumentor-element-found-in__source" data-line="510" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">PostgreSQL specific SQL</p>
|
||||
@ -273,9 +273,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list columns of the specified table</p>
|
||||
@ -318,9 +318,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
<span class="phpdocumentor-element-found-in__line">45</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.45" class="phpdocumentor-element-found-in__source" data-line="45" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list other databases</p>
|
||||
@ -352,9 +352,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the query plan for the sql query</p>
|
||||
@ -397,9 +397,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">179</span>
|
||||
<span class="phpdocumentor-element-found-in__line">180</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.179" class="phpdocumentor-element-found-in__source" data-line="179" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.180" class="phpdocumentor-element-found-in__source" data-line="180" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||
@ -443,9 +443,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
<span class="phpdocumentor-element-found-in__line">112</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.112" class="phpdocumentor-element-found-in__source" data-line="112" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||
@ -477,9 +477,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of indexes for the current table</p>
|
||||
@ -522,9 +522,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Limit clause</p>
|
||||
@ -583,9 +583,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">119</span>
|
||||
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.119" class="phpdocumentor-element-found-in__source" data-line="119" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.120" class="phpdocumentor-element-found-in__source" data-line="120" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||
@ -617,9 +617,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Random ordering keyword</p>
|
||||
@ -651,9 +651,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">133</span>
|
||||
<span class="phpdocumentor-element-found-in__line">134</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.133" class="phpdocumentor-element-found-in__source" data-line="133" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.134" class="phpdocumentor-element-found-in__source" data-line="134" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||
@ -685,9 +685,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">70</span>
|
||||
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.70" class="phpdocumentor-element-found-in__source" data-line="70" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list system tables</p>
|
||||
@ -719,9 +719,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">56</span>
|
||||
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.56" class="phpdocumentor-element-found-in__source" data-line="56" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||
@ -753,9 +753,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">98</span>
|
||||
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.98" class="phpdocumentor-element-found-in__source" data-line="98" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||
@ -787,9 +787,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">165</span>
|
||||
<span class="phpdocumentor-element-found-in__line">166</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.165" class="phpdocumentor-element-found-in__source" data-line="165" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.166" class="phpdocumentor-element-found-in__source" data-line="166" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQL to show list of field types</p>
|
||||
@ -821,9 +821,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/SQL.php"><a href="files/src-drivers-pgsql-sql.html"><abbr title="src/Drivers/Pgsql/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||
<span class="phpdocumentor-element-found-in__line">85</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-SQL.html#source-view.85" class="phpdocumentor-element-found-in__source" data-line="85" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Util.php"><a href="files/src-drivers-pgsql-util.html"><abbr title="src/Drivers/Pgsql/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Postgres-specific backup, import and creation methods</p>
|
||||
@ -209,9 +209,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||
@ -254,9 +254,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Util.php"><a href="files/src-drivers-pgsql-util.html"><abbr title="src/Drivers/Pgsql/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">38</span>
|
||||
<span class="phpdocumentor-element-found-in__line">39</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.38" class="phpdocumentor-element-found-in__source" data-line="38" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.39" class="phpdocumentor-element-found-in__source" data-line="39" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's data</p>
|
||||
@ -299,9 +299,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Pgsql/Util.php"><a href="files/src-drivers-pgsql-util.html"><abbr title="src/Drivers/Pgsql/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's structure</p>
|
||||
@ -333,9 +333,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||
@ -402,9 +402,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">78</span>
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.78" class="phpdocumentor-element-found-in__source" data-line="78" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||
@ -447,9 +447,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Pgsql-Util.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||
|
@ -112,9 +112,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Interface for database-specific syntax subclasses</p>
|
||||
@ -264,9 +264,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">87</span>
|
||||
<span class="phpdocumentor-element-found-in__line">88</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.87" class="phpdocumentor-element-found-in__source" data-line="87" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.88" class="phpdocumentor-element-found-in__source" data-line="88" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get information about the columns in the
|
||||
@ -310,9 +310,9 @@ specified table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">42</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.42" class="phpdocumentor-element-found-in__source" data-line="42" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list other databases</p>
|
||||
@ -344,9 +344,9 @@ specified table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">31</span>
|
||||
<span class="phpdocumentor-element-found-in__line">32</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.31" class="phpdocumentor-element-found-in__source" data-line="31" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.32" class="phpdocumentor-element-found-in__source" data-line="32" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Modify the query to get the query plan</p>
|
||||
@ -389,9 +389,9 @@ specified table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
<span class="phpdocumentor-element-found-in__line">94</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||
@ -435,9 +435,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">66</span>
|
||||
<span class="phpdocumentor-element-found-in__line">67</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.66" class="phpdocumentor-element-found-in__source" data-line="66" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.67" class="phpdocumentor-element-found-in__source" data-line="67" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||
@ -469,9 +469,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">98</span>
|
||||
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.98" class="phpdocumentor-element-found-in__source" data-line="98" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of indexes for the current table</p>
|
||||
@ -514,9 +514,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get database specific sql for limit clause</p>
|
||||
@ -575,9 +575,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||
@ -609,9 +609,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the sql for random ordering</p>
|
||||
@ -643,9 +643,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||
<span class="phpdocumentor-element-found-in__line">77</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.76" class="phpdocumentor-element-found-in__source" data-line="76" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.77" class="phpdocumentor-element-found-in__source" data-line="77" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||
@ -677,9 +677,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
<span class="phpdocumentor-element-found-in__line">52</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.52" class="phpdocumentor-element-found-in__source" data-line="52" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list system tables</p>
|
||||
@ -711,9 +711,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">46</span>
|
||||
<span class="phpdocumentor-element-found-in__line">47</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.46" class="phpdocumentor-element-found-in__source" data-line="46" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.47" class="phpdocumentor-element-found-in__source" data-line="47" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||
@ -745,9 +745,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">61</span>
|
||||
<span class="phpdocumentor-element-found-in__line">62</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.62" class="phpdocumentor-element-found-in__source" data-line="62" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||
@ -779,9 +779,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">81</span>
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.81" class="phpdocumentor-element-found-in__source" data-line="81" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list database field types</p>
|
||||
@ -813,9 +813,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/SQLInterface.php"><a href="files/src-drivers-sqlinterface.html"><abbr title="src/Drivers/SQLInterface.php">SQLInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">56</span>
|
||||
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.56" class="phpdocumentor-element-found-in__source" data-line="56" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-SQLInterface.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQLite specific class</p>
|
||||
@ -299,7 +299,7 @@ the connection/database</dd>
|
||||
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#method_insertBatch">insertBatch()</a>
|
||||
<span>
|
||||
: array<string|int, array<string|int, mixed>>|array<string|int, string>|array<string|int, null> </span>
|
||||
: array<string|int, array<string|int, mixed>>|array<string|int, null>|array<string|int, string> </span>
|
||||
</dt>
|
||||
<dd>Create sql for batch insert</dd>
|
||||
|
||||
@ -406,9 +406,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
<span class="phpdocumentor-element-found-in__line">93</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Allow invoke to work on table object</p>
|
||||
@ -439,19 +439,6 @@ the connection/database</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -472,16 +459,16 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||
<span class="phpdocumentor-element-found-in__line">40</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.40" class="phpdocumentor-element-found-in__source" data-line="40" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Open SQLite Database</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$user</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pass</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dsn</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$user</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$pass</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">NULL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$driverOptions</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -496,7 +483,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$user</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -504,7 +491,7 @@ the connection/database</dd>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$pass</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
@ -541,9 +528,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">599</span>
|
||||
<span class="phpdocumentor-element-found-in__line">603</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.599" class="phpdocumentor-element-found-in__source" data-line="599" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.603" class="phpdocumentor-element-found-in__source" data-line="603" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Helper method for quote_ident</p>
|
||||
@ -560,6 +547,7 @@ the connection/database</dd>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -585,9 +573,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">210</span>
|
||||
<span class="phpdocumentor-element-found-in__line">209</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.210" class="phpdocumentor-element-found-in__source" data-line="210" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.209" class="phpdocumentor-element-found-in__source" data-line="209" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns number of rows affected by an INSERT, UPDATE, DELETE type query</p>
|
||||
@ -619,9 +607,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">422</span>
|
||||
<span class="phpdocumentor-element-found-in__line">424</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.422" class="phpdocumentor-element-found-in__source" data-line="422" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.424" class="phpdocumentor-element-found-in__source" data-line="424" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Method to simplify retrieving db results for meta-data queries</p>
|
||||
@ -672,9 +660,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">382</span>
|
||||
<span class="phpdocumentor-element-found-in__line">384</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.382" class="phpdocumentor-element-found-in__source" data-line="382" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.384" class="phpdocumentor-element-found-in__source" data-line="384" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve column information for the current database table</p>
|
||||
@ -717,9 +705,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">50</span>
|
||||
<span class="phpdocumentor-element-found-in__line">53</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.50" class="phpdocumentor-element-found-in__source" data-line="50" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.53" class="phpdocumentor-element-found-in__source" data-line="53" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of dbs for the current connection, if possible. Meaningless for SQLite.</p>
|
||||
@ -751,9 +739,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">68</span>
|
||||
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.68" class="phpdocumentor-element-found-in__source" data-line="68" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve foreign keys for the table</p>
|
||||
@ -796,9 +784,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">345</span>
|
||||
<span class="phpdocumentor-element-found-in__line">347</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.345" class="phpdocumentor-element-found-in__source" data-line="345" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.347" class="phpdocumentor-element-found-in__source" data-line="347" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of functions for the current database</p>
|
||||
@ -845,9 +833,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">398</span>
|
||||
<span class="phpdocumentor-element-found-in__line">400</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.398" class="phpdocumentor-element-found-in__source" data-line="398" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.400" class="phpdocumentor-element-found-in__source" data-line="400" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve indexes for the table</p>
|
||||
@ -890,9 +878,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">131</span>
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the last sql query executed</p>
|
||||
@ -924,9 +912,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">355</span>
|
||||
<span class="phpdocumentor-element-found-in__line">357</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.355" class="phpdocumentor-element-found-in__source" data-line="355" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.357" class="phpdocumentor-element-found-in__source" data-line="357" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of stored procedures for the current database</p>
|
||||
@ -1007,9 +995,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">335</span>
|
||||
<span class="phpdocumentor-element-found-in__line">337</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.337" class="phpdocumentor-element-found-in__source" data-line="337" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of sequences for the current database, if they exist</p>
|
||||
@ -1041,9 +1029,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
<span class="phpdocumentor-element-found-in__line">146</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.146" class="phpdocumentor-element-found-in__source" data-line="146" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the SQL class for the current driver</p>
|
||||
@ -1075,9 +1063,9 @@ the connection/database</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">374</span>
|
||||
<span class="phpdocumentor-element-found-in__line">376</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.374" class="phpdocumentor-element-found-in__source" data-line="374" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.376" class="phpdocumentor-element-found-in__source" data-line="376" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieves an array of non-user-created tables for
|
||||
@ -1110,9 +1098,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">58</span>
|
||||
<span class="phpdocumentor-element-found-in__line">61</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.58" class="phpdocumentor-element-found-in__source" data-line="58" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">List tables for the current database</p>
|
||||
@ -1144,9 +1132,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">365</span>
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.365" class="phpdocumentor-element-found-in__source" data-line="365" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of triggers for the current database</p>
|
||||
@ -1193,9 +1181,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">406</span>
|
||||
<span class="phpdocumentor-element-found-in__line">408</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.406" class="phpdocumentor-element-found-in__source" data-line="406" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.408" class="phpdocumentor-element-found-in__source" data-line="408" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve list of data types for the database</p>
|
||||
@ -1227,9 +1215,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">155</span>
|
||||
<span class="phpdocumentor-element-found-in__line">154</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.155" class="phpdocumentor-element-found-in__source" data-line="155" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the Util class for the current driver</p>
|
||||
@ -1261,9 +1249,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">414</span>
|
||||
<span class="phpdocumentor-element-found-in__line">416</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.414" class="phpdocumentor-element-found-in__source" data-line="414" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the version of the database engine</p>
|
||||
@ -1295,9 +1283,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">325</span>
|
||||
<span class="phpdocumentor-element-found-in__line">326</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.325" class="phpdocumentor-element-found-in__source" data-line="325" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return list of views for the current database</p>
|
||||
@ -1329,16 +1317,16 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">92</span>
|
||||
<span class="phpdocumentor-element-found-in__line">95</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.92" class="phpdocumentor-element-found-in__source" data-line="92" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.95" class="phpdocumentor-element-found-in__source" data-line="95" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create sql for batch insert</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">insertBatch</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>>|array<string|int, string>|array<string|int, null></span></code>
|
||||
<span class="phpdocumentor-signature__name">insertBatch</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$table</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>>|array<string|int, null>|array<string|int, string></span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -1362,22 +1350,9 @@ the connection/database</p>
|
||||
</dl>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>>|array<string|int, string>|array<string|int, null></span>
|
||||
<span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>>|array<string|int, null>|array<string|int, string></span>
|
||||
—
|
||||
|
||||
|
||||
@ -1395,9 +1370,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">451</span>
|
||||
<span class="phpdocumentor-element-found-in__line">453</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.451" class="phpdocumentor-element-found-in__source" data-line="451" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.453" class="phpdocumentor-element-found-in__source" data-line="453" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return the number of rows returned for a SELECT query</p>
|
||||
@ -1443,9 +1418,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Prefixes a table if it is not already prefixed</p>
|
||||
@ -1488,9 +1463,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">198</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.198" class="phpdocumentor-element-found-in__source" data-line="198" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create and execute a prepared statement with the provided parameters</p>
|
||||
@ -1555,9 +1530,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">174</span>
|
||||
<span class="phpdocumentor-element-found-in__line">173</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.174" class="phpdocumentor-element-found-in__source" data-line="174" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.173" class="phpdocumentor-element-found-in__source" data-line="173" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Simplifies prepared statements for database queries</p>
|
||||
@ -1608,9 +1583,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">257</span>
|
||||
<span class="phpdocumentor-element-found-in__line">256</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.257" class="phpdocumentor-element-found-in__source" data-line="257" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Surrounds the string with the databases identifier escape characters</p>
|
||||
@ -1653,9 +1628,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">246</span>
|
||||
<span class="phpdocumentor-element-found-in__line">245</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.246" class="phpdocumentor-element-found-in__source" data-line="246" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.245" class="phpdocumentor-element-found-in__source" data-line="245" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Quote database table name, and set prefix</p>
|
||||
@ -1698,9 +1673,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Driver.php"><a href="files/src-drivers-sqlite-driver.html"><abbr title="src/Drivers/Sqlite/Driver.php">Driver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">136</span>
|
||||
<span class="phpdocumentor-element-found-in__line">141</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.136" class="phpdocumentor-element-found-in__source" data-line="136" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.141" class="phpdocumentor-element-found-in__source" data-line="141" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generate the returning clause for the current database</p>
|
||||
@ -1751,9 +1726,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">139</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.139" class="phpdocumentor-element-found-in__source" data-line="139" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the last query sql</p>
|
||||
@ -1796,9 +1771,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">163</span>
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set the common table name prefix</p>
|
||||
@ -1841,9 +1816,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">573</span>
|
||||
<span class="phpdocumentor-element-found-in__line">579</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.573" class="phpdocumentor-element-found-in__source" data-line="573" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.579" class="phpdocumentor-element-found-in__source" data-line="579" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Empty the passed table</p>
|
||||
@ -1886,9 +1861,9 @@ the connection/database</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractDriver.php"><a href="files/src-drivers-abstractdriver.html"><abbr title="src/Drivers/AbstractDriver.php">AbstractDriver.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">506</span>
|
||||
<span class="phpdocumentor-element-found-in__line">510</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.506" class="phpdocumentor-element-found-in__source" data-line="506" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Driver.html#source-view.510" class="phpdocumentor-element-found-in__source" data-line="510" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQLite Specific SQL</p>
|
||||
@ -274,9 +274,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">142</span>
|
||||
<span class="phpdocumentor-element-found-in__line">143</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.142" class="phpdocumentor-element-found-in__source" data-line="142" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.143" class="phpdocumentor-element-found-in__source" data-line="143" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQL to show information about columns in a table</p>
|
||||
@ -319,9 +319,9 @@ table</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">46</span>
|
||||
<span class="phpdocumentor-element-found-in__line">47</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.46" class="phpdocumentor-element-found-in__source" data-line="46" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.47" class="phpdocumentor-element-found-in__source" data-line="47" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list other databases. Meaningless for SQLite, as this
|
||||
@ -354,9 +354,9 @@ just returns the database(s) that we are currently connected to.</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the query plan for the sql query</p>
|
||||
@ -399,9 +399,9 @@ just returns the database(s) that we are currently connected to.</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">153</span>
|
||||
<span class="phpdocumentor-element-found-in__line">154</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.153" class="phpdocumentor-element-found-in__source" data-line="153" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the list of foreign keys for the current
|
||||
@ -445,9 +445,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">106</span>
|
||||
<span class="phpdocumentor-element-found-in__line">107</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.106" class="phpdocumentor-element-found-in__source" data-line="106" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.107" class="phpdocumentor-element-found-in__source" data-line="107" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list functions</p>
|
||||
@ -538,9 +538,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractSQL.php"><a href="files/src-drivers-abstractsql.html"><abbr title="src/Drivers/AbstractSQL.php">AbstractSQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Limit clause</p>
|
||||
@ -599,9 +599,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">116</span>
|
||||
<span class="phpdocumentor-element-found-in__line">117</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.116" class="phpdocumentor-element-found-in__source" data-line="116" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.117" class="phpdocumentor-element-found-in__source" data-line="117" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list stored procedures</p>
|
||||
@ -647,9 +647,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||
<span class="phpdocumentor-element-found-in__line">38</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.38" class="phpdocumentor-element-found-in__source" data-line="38" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Random ordering keyword</p>
|
||||
@ -681,9 +681,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">124</span>
|
||||
<span class="phpdocumentor-element-found-in__line">125</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.124" class="phpdocumentor-element-found-in__source" data-line="124" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.125" class="phpdocumentor-element-found-in__source" data-line="125" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Return sql to list sequences</p>
|
||||
@ -715,9 +715,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||
<span class="phpdocumentor-element-found-in__line">73</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.73" class="phpdocumentor-element-found-in__source" data-line="73" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">List the system tables</p>
|
||||
@ -749,9 +749,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">54</span>
|
||||
<span class="phpdocumentor-element-found-in__line">55</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.54" class="phpdocumentor-element-found-in__source" data-line="54" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.55" class="phpdocumentor-element-found-in__source" data-line="55" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list tables</p>
|
||||
@ -783,9 +783,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">94</span>
|
||||
<span class="phpdocumentor-element-found-in__line">95</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.95" class="phpdocumentor-element-found-in__source" data-line="95" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list triggers</p>
|
||||
@ -817,9 +817,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">134</span>
|
||||
<span class="phpdocumentor-element-found-in__line">135</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.134" class="phpdocumentor-element-found-in__source" data-line="134" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.135" class="phpdocumentor-element-found-in__source" data-line="135" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQL to show list of field types</p>
|
||||
@ -851,9 +851,9 @@ table</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/SQL.php"><a href="files/src-drivers-sqlite-sql.html"><abbr title="src/Drivers/Sqlite/SQL.php">SQL.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||
<span class="phpdocumentor-element-found-in__line">85</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-SQL.html#source-view.85" class="phpdocumentor-element-found-in__source" data-line="85" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns sql to list views</p>
|
||||
|
@ -120,9 +120,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Util.php"><a href="files/src-drivers-sqlite-util.html"><abbr title="src/Drivers/Sqlite/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">SQLite-specific backup, import and creation methods</p>
|
||||
@ -209,9 +209,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Save a reference to the connection object for later use</p>
|
||||
@ -254,9 +254,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Util.php"><a href="files/src-drivers-sqlite-util.html"><abbr title="src/Drivers/Sqlite/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's data</p>
|
||||
@ -299,9 +299,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/Sqlite/Util.php"><a href="files/src-drivers-sqlite-util.html"><abbr title="src/Drivers/Sqlite/Util.php">Util.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Create an SQL backup file for the current database's structure</p>
|
||||
@ -333,9 +333,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.41" class="phpdocumentor-element-found-in__source" data-line="41" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience public function to generate sql for creating a db table</p>
|
||||
@ -402,9 +402,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">78</span>
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.78" class="phpdocumentor-element-found-in__source" data-line="78" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Drop the selected table</p>
|
||||
@ -447,9 +447,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Drivers/AbstractUtil.php"><a href="files/src-drivers-abstractutil.html"><abbr title="src/Drivers/AbstractUtil.php">AbstractUtil.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Drivers-Sqlite-Util.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Get the driver object for the current connection</p>
|
||||
|
@ -119,9 +119,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Exception/BadDBDriverException.php"><a href="files/src-exception-baddbdriverexception.html"><abbr title="src/Exception/BadDBDriverException.php">BadDBDriverException.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-Exception-BadDBDriverException.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Exception-BadDBDriverException.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generic exception for bad drivers</p>
|
||||
|
@ -119,9 +119,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Exception/NonExistentConnectionException.php"><a href="files/src-exception-nonexistentconnectionexception.html"><abbr title="src/Exception/NonExistentConnectionException.php">NonExistentConnectionException.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-Exception-NonExistentConnectionException.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Exception-NonExistentConnectionException.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Exception for missing database connection</p>
|
||||
|
@ -119,9 +119,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/Exception/NotImplementedException.php"><a href="files/src-exception-notimplementedexception.html"><abbr title="src/Exception/NotImplementedException.php">NotImplementedException.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-Exception-NotImplementedException.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-Exception-NotImplementedException.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Exception for non-implemented method</p>
|
||||
|
@ -117,9 +117,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-JoinType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Enum of join types</p>
|
||||
@ -202,56 +202,6 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INNER">
|
||||
INNER
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_OUTER">
|
||||
OUTER
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
@ -270,8 +220,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_LEFT">
|
||||
LEFT
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INNER">
|
||||
INNER
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -295,8 +245,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_RIGHT">
|
||||
RIGHT
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_OUTER">
|
||||
OUTER
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -313,6 +263,56 @@
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_LEFT">
|
||||
LEFT
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_RIGHT">
|
||||
RIGHT
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
@ -334,9 +334,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/JoinType.php"><a href="files/src-jointype.html"><abbr title="src/JoinType.php">JoinType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
<span class="phpdocumentor-element-found-in__line">30</span>
|
||||
|
||||
<a href="classes/Query-JoinType.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
<a href="classes/Query-JoinType.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
@ -117,9 +117,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/LikeType.php"><a href="files/src-liketype.html"><abbr title="src/LikeType.php">LikeType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-LikeType.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-LikeType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">'Enum' of join types</p>
|
||||
@ -188,9 +188,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/LikeType.php"><a href="files/src-liketype.html"><abbr title="src/LikeType.php">LikeType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-LikeType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
<a href="classes/Query-LikeType.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -213,9 +213,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/LikeType.php"><a href="files/src-liketype.html"><abbr title="src/LikeType.php">LikeType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="classes/Query-LikeType.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-LikeType.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -238,9 +238,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/LikeType.php"><a href="files/src-liketype.html"><abbr title="src/LikeType.php">LikeType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
|
||||
<a href="classes/Query-LikeType.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
<a href="classes/Query-LikeType.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -270,9 +270,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/LikeType.php"><a href="files/src-liketype.html"><abbr title="src/LikeType.php">LikeType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">26</span>
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-LikeType.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view"></a>
|
||||
<a href="classes/Query-LikeType.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
@ -117,9 +117,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-MapType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Enum of query map types</p>
|
||||
@ -153,56 +153,6 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_GROUP_START">
|
||||
GROUP_START
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_JOIN">
|
||||
JOIN
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
@ -221,8 +171,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_LIKE">
|
||||
LIKE
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_GROUP_START">
|
||||
GROUP_START
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -246,8 +196,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_WHERE">
|
||||
WHERE
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_JOIN">
|
||||
JOIN
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -271,8 +221,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_WHERE_IN">
|
||||
WHERE_IN
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_LIKE">
|
||||
LIKE
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -289,6 +239,56 @@
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_WHERE">
|
||||
WHERE
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_WHERE_IN">
|
||||
WHERE_IN
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/MapType.php"><a href="files/src-maptype.html"><abbr title="src/MapType.php">MapType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-MapType.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
@ -121,9 +121,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience class for creating sql queries</p>
|
||||
@ -180,14 +180,14 @@
|
||||
<span>
|
||||
: mixed </span>
|
||||
</dt>
|
||||
<dd>Constructor</dd>
|
||||
<dd></dd>
|
||||
|
||||
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||
<a href="classes/Query-QueryBuilderBase.html#method___destruct">__destruct()</a>
|
||||
<span>
|
||||
: mixed </span>
|
||||
</dt>
|
||||
<dd>Destructor</dd>
|
||||
<dd></dd>
|
||||
|
||||
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||
<a href="classes/Query-QueryBuilderBase.html#method_affectedRows">affectedRows()</a>
|
||||
@ -770,9 +770,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">64</span>
|
||||
<span class="phpdocumentor-element-found-in__line">67</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.64" class="phpdocumentor-element-found-in__source" data-line="64" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.67" class="phpdocumentor-element-found-in__source" data-line="67" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience property for connection management</p>
|
||||
@ -805,9 +805,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">69</span>
|
||||
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.69" class="phpdocumentor-element-found-in__source" data-line="69" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">List of queries executed</p>
|
||||
@ -844,9 +844,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">116</span>
|
||||
<span class="phpdocumentor-element-found-in__line">113</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.116" class="phpdocumentor-element-found-in__source" data-line="116" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.113" class="phpdocumentor-element-found-in__source" data-line="113" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Calls a function further down the inheritance chain.</p>
|
||||
@ -918,12 +918,12 @@ passed array with key / value pairs</dd>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Constructor</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$driver</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-QueryParser.html"><abbr title="\Query\QueryParser">QueryParser</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$parser</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
<dl class="phpdocumentor-argument-list">
|
||||
@ -966,33 +966,20 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">104</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.104" class="phpdocumentor-element-found-in__source" data-line="104" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Destructor</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__destruct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -1118,9 +1105,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">513</span>
|
||||
<span class="phpdocumentor-element-found-in__line">511</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.513" class="phpdocumentor-element-found-in__source" data-line="513" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.511" class="phpdocumentor-element-found-in__source" data-line="511" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve the number of rows in the selected table</p>
|
||||
@ -1163,9 +1150,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">524</span>
|
||||
<span class="phpdocumentor-element-found-in__line">523</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.524" class="phpdocumentor-element-found-in__source" data-line="524" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.523" class="phpdocumentor-element-found-in__source" data-line="523" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve the number of results for the generated query - used
|
||||
@ -1247,6 +1234,7 @@ in place of the get() method</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1272,9 +1260,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
<span class="phpdocumentor-element-found-in__line">136</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.136" class="phpdocumentor-element-found-in__source" data-line="136" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds the 'distinct' keyword to a query</p>
|
||||
@ -1422,9 +1410,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">148</span>
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.148" class="phpdocumentor-element-found-in__source" data-line="148" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Tell the database to give you the query plan instead of result set</p>
|
||||
@ -1456,9 +1444,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">169</span>
|
||||
<span class="phpdocumentor-element-found-in__line">167</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.169" class="phpdocumentor-element-found-in__source" data-line="169" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.167" class="phpdocumentor-element-found-in__source" data-line="167" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify the database table to select from</p>
|
||||
@ -1501,9 +1489,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">479</span>
|
||||
<span class="phpdocumentor-element-found-in__line">477</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.479" class="phpdocumentor-element-found-in__source" data-line="479" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.477" class="phpdocumentor-element-found-in__source" data-line="477" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Select and retrieve all records from the current table, and/or
|
||||
@ -2307,9 +2295,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">501</span>
|
||||
<span class="phpdocumentor-element-found-in__line">499</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.501" class="phpdocumentor-element-found-in__source" data-line="501" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.499" class="phpdocumentor-element-found-in__source" data-line="499" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience method for get() with a where clause</p>
|
||||
@ -2375,9 +2363,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">346</span>
|
||||
<span class="phpdocumentor-element-found-in__line">344</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.346" class="phpdocumentor-element-found-in__source" data-line="346" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.344" class="phpdocumentor-element-found-in__source" data-line="344" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Group the results by the selected field(s)</p>
|
||||
@ -2394,6 +2382,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2419,9 +2408,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">465</span>
|
||||
<span class="phpdocumentor-element-found-in__line">463</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.465" class="phpdocumentor-element-found-in__source" data-line="465" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.463" class="phpdocumentor-element-found-in__source" data-line="463" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Ends a query group</p>
|
||||
@ -2453,9 +2442,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">418</span>
|
||||
<span class="phpdocumentor-element-found-in__line">416</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.418" class="phpdocumentor-element-found-in__source" data-line="418" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping</p>
|
||||
@ -2487,9 +2476,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">226</span>
|
||||
<span class="phpdocumentor-element-found-in__line">224</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.226" class="phpdocumentor-element-found-in__source" data-line="226" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.224" class="phpdocumentor-element-found-in__source" data-line="224" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a 'Having' clause</p>
|
||||
@ -2506,6 +2495,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2513,6 +2503,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2538,9 +2529,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">541</span>
|
||||
<span class="phpdocumentor-element-found-in__line">540</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.541" class="phpdocumentor-element-found-in__source" data-line="541" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.540" class="phpdocumentor-element-found-in__source" data-line="540" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates an insert clause, and executes it</p>
|
||||
@ -2565,6 +2556,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2590,9 +2582,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">554</span>
|
||||
<span class="phpdocumentor-element-found-in__line">553</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.554" class="phpdocumentor-element-found-in__source" data-line="554" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.553" class="phpdocumentor-element-found-in__source" data-line="553" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates and executes a batch insertion query</p>
|
||||
@ -2677,9 +2669,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">326</span>
|
||||
<span class="phpdocumentor-element-found-in__line">324</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.324" class="phpdocumentor-element-found-in__source" data-line="324" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a join phrase in a compiled query</p>
|
||||
@ -2784,9 +2776,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">191</span>
|
||||
<span class="phpdocumentor-element-found-in__line">189</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.191" class="phpdocumentor-element-found-in__source" data-line="191" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.189" class="phpdocumentor-element-found-in__source" data-line="189" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a Like clause in the sql statement</p>
|
||||
@ -2811,6 +2803,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2844,9 +2837,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">404</span>
|
||||
<span class="phpdocumentor-element-found-in__line">402</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.404" class="phpdocumentor-element-found-in__source" data-line="404" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.402" class="phpdocumentor-element-found-in__source" data-line="402" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set a limit on the current sql statement</p>
|
||||
@ -2897,9 +2890,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">431</span>
|
||||
<span class="phpdocumentor-element-found-in__line">429</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.431" class="phpdocumentor-element-found-in__source" data-line="431" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.429" class="phpdocumentor-element-found-in__source" data-line="429" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -2932,9 +2925,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">207</span>
|
||||
<span class="phpdocumentor-element-found-in__line">205</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.207" class="phpdocumentor-element-found-in__source" data-line="207" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.205" class="phpdocumentor-element-found-in__source" data-line="205" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a NOT LIKE clause</p>
|
||||
@ -2959,6 +2952,7 @@ prefixed with 'NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3027,9 +3021,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">369</span>
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.369" class="phpdocumentor-element-found-in__source" data-line="369" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Order the results by the selected field(s)</p>
|
||||
@ -3080,9 +3074,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">444</span>
|
||||
<span class="phpdocumentor-element-found-in__line">442</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.444" class="phpdocumentor-element-found-in__source" data-line="444" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.442" class="phpdocumentor-element-found-in__source" data-line="442" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -3115,9 +3109,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">234</span>
|
||||
<span class="phpdocumentor-element-found-in__line">232</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.234" class="phpdocumentor-element-found-in__source" data-line="234" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.232" class="phpdocumentor-element-found-in__source" data-line="232" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a 'Having' clause prefixed with 'OR'</p>
|
||||
@ -3134,6 +3128,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3141,6 +3136,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -3166,9 +3162,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">197</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.197" class="phpdocumentor-element-found-in__source" data-line="197" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates an OR Like clause</p>
|
||||
@ -3193,6 +3189,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3226,9 +3223,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">455</span>
|
||||
<span class="phpdocumentor-element-found-in__line">453</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.455" class="phpdocumentor-element-found-in__source" data-line="455" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.453" class="phpdocumentor-element-found-in__source" data-line="453" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -3261,9 +3258,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">215</span>
|
||||
<span class="phpdocumentor-element-found-in__line">213</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.215" class="phpdocumentor-element-found-in__source" data-line="215" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.213" class="phpdocumentor-element-found-in__source" data-line="213" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a OR NOT LIKE clause</p>
|
||||
@ -3288,6 +3285,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3321,9 +3319,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">255</span>
|
||||
<span class="phpdocumentor-element-found-in__line">253</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.255" class="phpdocumentor-element-found-in__source" data-line="255" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.253" class="phpdocumentor-element-found-in__source" data-line="253" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where clause prefixed with "OR"</p>
|
||||
@ -3347,6 +3345,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -3372,9 +3371,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">271</span>
|
||||
<span class="phpdocumentor-element-found-in__line">269</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.271" class="phpdocumentor-element-found-in__source" data-line="271" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.269" class="phpdocumentor-element-found-in__source" data-line="269" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where in statement prefixed with "or"</p>
|
||||
@ -3391,6 +3390,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3424,9 +3424,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">287</span>
|
||||
<span class="phpdocumentor-element-found-in__line">285</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.287" class="phpdocumentor-element-found-in__source" data-line="287" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.285" class="phpdocumentor-element-found-in__source" data-line="285" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">OR WHERE NOT IN (FOO) clause</p>
|
||||
@ -3443,6 +3443,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -3738,9 +3739,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">129</span>
|
||||
<span class="phpdocumentor-element-found-in__line">126</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.129" class="phpdocumentor-element-found-in__source" data-line="129" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.126" class="phpdocumentor-element-found-in__source" data-line="126" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Clear out the class variables, so the next query can be run</p>
|
||||
@ -3772,9 +3773,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">122</span>
|
||||
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.122" class="phpdocumentor-element-found-in__source" data-line="122" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.120" class="phpdocumentor-element-found-in__source" data-line="120" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Add a 'returning' clause to an insert,update, or delete query</p>
|
||||
@ -3852,9 +3853,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">34</span>
|
||||
<span class="phpdocumentor-element-found-in__line">36</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.34" class="phpdocumentor-element-found-in__source" data-line="34" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specifies rows to select in a query</p>
|
||||
@ -3897,16 +3898,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">98</span>
|
||||
<span class="phpdocumentor-element-found-in__line">96</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.98" class="phpdocumentor-element-found-in__source" data-line="98" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.96" class="phpdocumentor-element-found-in__source" data-line="96" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the average value of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectAvg</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectAvg</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -3921,9 +3922,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -3958,7 +3960,7 @@ prefixed with 'OR NOT'</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -3973,9 +3975,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4001,16 +4004,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">86</span>
|
||||
<span class="phpdocumentor-element-found-in__line">85</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.86" class="phpdocumentor-element-found-in__source" data-line="86" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.85" class="phpdocumentor-element-found-in__source" data-line="85" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the minimum value of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -4025,9 +4028,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4053,16 +4057,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">110</span>
|
||||
<span class="phpdocumentor-element-found-in__line">107</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.110" class="phpdocumentor-element-found-in__source" data-line="110" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.107" class="phpdocumentor-element-found-in__source" data-line="107" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the sum of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectSum</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectSum</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -4077,9 +4081,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4105,9 +4110,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">298</span>
|
||||
<span class="phpdocumentor-element-found-in__line">296</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.298" class="phpdocumentor-element-found-in__source" data-line="298" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.296" class="phpdocumentor-element-found-in__source" data-line="296" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Sets values for inserts / updates / deletes</p>
|
||||
@ -4124,6 +4129,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -4257,9 +4263,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">161</span>
|
||||
<span class="phpdocumentor-element-found-in__line">159</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.161" class="phpdocumentor-element-found-in__source" data-line="161" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.159" class="phpdocumentor-element-found-in__source" data-line="159" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify the database table to select from</p>
|
||||
@ -4278,6 +4284,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4349,9 +4356,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">567</span>
|
||||
<span class="phpdocumentor-element-found-in__line">566</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.567" class="phpdocumentor-element-found-in__source" data-line="567" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.566" class="phpdocumentor-element-found-in__source" data-line="566" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates an update clause, and executes it</p>
|
||||
@ -4376,6 +4383,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4401,9 +4409,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">581</span>
|
||||
<span class="phpdocumentor-element-found-in__line">580</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.581" class="phpdocumentor-element-found-in__source" data-line="581" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.580" class="phpdocumentor-element-found-in__source" data-line="580" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
@ -4467,9 +4475,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">247</span>
|
||||
<span class="phpdocumentor-element-found-in__line">245</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.247" class="phpdocumentor-element-found-in__source" data-line="247" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.245" class="phpdocumentor-element-found-in__source" data-line="245" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify condition(s) in the where clause of a query
|
||||
@ -4488,6 +4496,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -4495,6 +4504,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -4520,9 +4530,9 @@ passed array with key / value pairs</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">263</span>
|
||||
<span class="phpdocumentor-element-found-in__line">261</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.263" class="phpdocumentor-element-found-in__source" data-line="263" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.261" class="phpdocumentor-element-found-in__source" data-line="261" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where clause with 'IN' statement</p>
|
||||
@ -4539,6 +4549,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -4572,9 +4583,9 @@ passed array with key / value pairs</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilder.php"><a href="files/src-querybuilder.html"><abbr title="src/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">279</span>
|
||||
<span class="phpdocumentor-element-found-in__line">277</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.279" class="phpdocumentor-element-found-in__source" data-line="279" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilder.html#source-view.277" class="phpdocumentor-element-found-in__source" data-line="277" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">WHERE NOT IN (FOO) clause</p>
|
||||
@ -4591,6 +4602,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
|
@ -115,9 +115,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">59</span>
|
||||
<span class="phpdocumentor-element-found-in__line">62</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.59" class="phpdocumentor-element-found-in__source" data-line="59" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.62" class="phpdocumentor-element-found-in__source" data-line="62" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -161,14 +161,14 @@
|
||||
<span>
|
||||
: mixed </span>
|
||||
</dt>
|
||||
<dd>Constructor</dd>
|
||||
<dd></dd>
|
||||
|
||||
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||
<a href="classes/Query-QueryBuilderBase.html#method___destruct">__destruct()</a>
|
||||
<span>
|
||||
: mixed </span>
|
||||
</dt>
|
||||
<dd>Destructor</dd>
|
||||
<dd></dd>
|
||||
|
||||
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||
<a href="classes/Query-QueryBuilderBase.html#method_affectedRows">affectedRows()</a>
|
||||
@ -429,9 +429,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">64</span>
|
||||
<span class="phpdocumentor-element-found-in__line">67</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.64" class="phpdocumentor-element-found-in__source" data-line="64" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.67" class="phpdocumentor-element-found-in__source" data-line="67" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience property for connection management</p>
|
||||
@ -464,9 +464,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">69</span>
|
||||
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.69" class="phpdocumentor-element-found-in__source" data-line="69" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">List of queries executed</p>
|
||||
@ -503,9 +503,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">116</span>
|
||||
<span class="phpdocumentor-element-found-in__line">113</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.116" class="phpdocumentor-element-found-in__source" data-line="116" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.113" class="phpdocumentor-element-found-in__source" data-line="113" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Calls a function further down the inheritance chain.</p>
|
||||
@ -577,12 +577,12 @@
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Constructor</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-Drivers-DriverInterface.html"><abbr title="\Query\Drivers\DriverInterface">DriverInterface</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$driver</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Query-QueryParser.html"><abbr title="\Query\QueryParser">QueryParser</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$parser</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
<dl class="phpdocumentor-argument-list">
|
||||
@ -625,33 +625,20 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">104</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.104" class="phpdocumentor-element-found-in__source" data-line="104" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Destructor</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">__destruct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||
Tags
|
||||
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h5>
|
||||
<dl class="phpdocumentor-tag-list">
|
||||
<dt class="phpdocumentor-tag-list__entry">
|
||||
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-tag-list__definition">
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||
@ -1803,9 +1790,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderBase.php"><a href="files/src-querybuilderbase.html"><abbr title="src/QueryBuilderBase.php">QueryBuilderBase.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">129</span>
|
||||
<span class="phpdocumentor-element-found-in__line">126</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.129" class="phpdocumentor-element-found-in__source" data-line="129" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderBase.html#source-view.126" class="phpdocumentor-element-found-in__source" data-line="126" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Clear out the class variables, so the next query can be run</p>
|
||||
|
@ -111,9 +111,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">60</span>
|
||||
<span class="phpdocumentor-element-found-in__line">61</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.60" class="phpdocumentor-element-found-in__source" data-line="60" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Interface defining the Query Builder class</p>
|
||||
@ -478,9 +478,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">308</span>
|
||||
<span class="phpdocumentor-element-found-in__line">262</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.308" class="phpdocumentor-element-found-in__source" data-line="308" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.262" class="phpdocumentor-element-found-in__source" data-line="262" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve the number of rows in the selected table</p>
|
||||
@ -523,9 +523,9 @@ passed array with key / value pairs</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">316</span>
|
||||
<span class="phpdocumentor-element-found-in__line">270</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.316" class="phpdocumentor-element-found-in__source" data-line="316" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.270" class="phpdocumentor-element-found-in__source" data-line="270" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Retrieve the number of results for the generated query - used
|
||||
@ -580,9 +580,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">354</span>
|
||||
<span class="phpdocumentor-element-found-in__line">302</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.354" class="phpdocumentor-element-found-in__source" data-line="354" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.302" class="phpdocumentor-element-found-in__source" data-line="302" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Deletes data from a table</p>
|
||||
@ -607,6 +607,7 @@ in place of the get() method</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -632,9 +633,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">101</span>
|
||||
<span class="phpdocumentor-element-found-in__line">94</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.101" class="phpdocumentor-element-found-in__source" data-line="101" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds the 'distinct' keyword to a query</p>
|
||||
@ -666,9 +667,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">106</span>
|
||||
<span class="phpdocumentor-element-found-in__line">99</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.106" class="phpdocumentor-element-found-in__source" data-line="106" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.99" class="phpdocumentor-element-found-in__source" data-line="99" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Shows the query plan for the query</p>
|
||||
@ -700,9 +701,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||
<span class="phpdocumentor-element-found-in__line">111</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.120" class="phpdocumentor-element-found-in__source" data-line="120" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify the database table to select from</p>
|
||||
@ -745,9 +746,9 @@ in place of the get() method</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">296</span>
|
||||
<span class="phpdocumentor-element-found-in__line">252</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.296" class="phpdocumentor-element-found-in__source" data-line="296" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.252" class="phpdocumentor-element-found-in__source" data-line="252" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Select and retrieve all records from the current table, and/or
|
||||
@ -807,9 +808,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">377</span>
|
||||
<span class="phpdocumentor-element-found-in__line">325</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.377" class="phpdocumentor-element-found-in__source" data-line="377" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.325" class="phpdocumentor-element-found-in__source" data-line="325" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns the generated 'delete' sql query</p>
|
||||
@ -860,9 +861,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">367</span>
|
||||
<span class="phpdocumentor-element-found-in__line">315</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.367" class="phpdocumentor-element-found-in__source" data-line="367" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.315" class="phpdocumentor-element-found-in__source" data-line="315" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns the generated 'insert' sql query</p>
|
||||
@ -913,9 +914,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">362</span>
|
||||
<span class="phpdocumentor-element-found-in__line">310</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.362" class="phpdocumentor-element-found-in__source" data-line="362" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.310" class="phpdocumentor-element-found-in__source" data-line="310" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns the generated 'select' sql query</p>
|
||||
@ -966,9 +967,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">372</span>
|
||||
<span class="phpdocumentor-element-found-in__line">320</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.372" class="phpdocumentor-element-found-in__source" data-line="372" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.320" class="phpdocumentor-element-found-in__source" data-line="320" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Returns the generated 'update' sql query</p>
|
||||
@ -1019,9 +1020,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">303</span>
|
||||
<span class="phpdocumentor-element-found-in__line">257</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.303" class="phpdocumentor-element-found-in__source" data-line="303" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.257" class="phpdocumentor-element-found-in__source" data-line="257" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Convenience method for get() with a where clause</p>
|
||||
@ -1046,6 +1047,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1087,9 +1089,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">246</span>
|
||||
<span class="phpdocumentor-element-found-in__line">202</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.246" class="phpdocumentor-element-found-in__source" data-line="246" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.202" class="phpdocumentor-element-found-in__source" data-line="202" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Group the results by the selected field(s)</p>
|
||||
@ -1106,6 +1108,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1131,9 +1134,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">287</span>
|
||||
<span class="phpdocumentor-element-found-in__line">243</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.287" class="phpdocumentor-element-found-in__source" data-line="287" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.243" class="phpdocumentor-element-found-in__source" data-line="243" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Ends a query group</p>
|
||||
@ -1165,9 +1168,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">264</span>
|
||||
<span class="phpdocumentor-element-found-in__line">220</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.264" class="phpdocumentor-element-found-in__source" data-line="264" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.220" class="phpdocumentor-element-found-in__source" data-line="220" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping</p>
|
||||
@ -1199,9 +1202,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">162</span>
|
||||
<span class="phpdocumentor-element-found-in__line">142</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.162" class="phpdocumentor-element-found-in__source" data-line="162" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.142" class="phpdocumentor-element-found-in__source" data-line="142" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a 'Having' clause</p>
|
||||
@ -1218,6 +1221,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1225,6 +1229,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1250,9 +1255,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">323</span>
|
||||
<span class="phpdocumentor-element-found-in__line">275</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.323" class="phpdocumentor-element-found-in__source" data-line="323" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.275" class="phpdocumentor-element-found-in__source" data-line="275" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates an insert clause, and executes it</p>
|
||||
@ -1277,6 +1282,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1302,9 +1308,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">330</span>
|
||||
<span class="phpdocumentor-element-found-in__line">282</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.330" class="phpdocumentor-element-found-in__source" data-line="330" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.282" class="phpdocumentor-element-found-in__source" data-line="282" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates and executes a batch insertion query</p>
|
||||
@ -1354,9 +1360,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">239</span>
|
||||
<span class="phpdocumentor-element-found-in__line">197</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.239" class="phpdocumentor-element-found-in__source" data-line="239" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.197" class="phpdocumentor-element-found-in__source" data-line="197" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a join phrase in a compiled query</p>
|
||||
@ -1415,9 +1421,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">130</span>
|
||||
<span class="phpdocumentor-element-found-in__line">119</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.130" class="phpdocumentor-element-found-in__source" data-line="130" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.119" class="phpdocumentor-element-found-in__source" data-line="119" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a Like clause in the sql statement</p>
|
||||
@ -1442,6 +1448,7 @@ execute current compiled query</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1475,9 +1482,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">256</span>
|
||||
<span class="phpdocumentor-element-found-in__line">212</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.212" class="phpdocumentor-element-found-in__source" data-line="212" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Set a limit on the current sql statement</p>
|
||||
@ -1528,9 +1535,9 @@ execute current compiled query</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">270</span>
|
||||
<span class="phpdocumentor-element-found-in__line">226</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.270" class="phpdocumentor-element-found-in__source" data-line="270" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.226" class="phpdocumentor-element-found-in__source" data-line="226" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -1563,9 +1570,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">144</span>
|
||||
<span class="phpdocumentor-element-found-in__line">129</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.144" class="phpdocumentor-element-found-in__source" data-line="144" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.129" class="phpdocumentor-element-found-in__source" data-line="129" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a NOT LIKE clause</p>
|
||||
@ -1590,6 +1597,7 @@ prefixed with 'NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1623,9 +1631,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">251</span>
|
||||
<span class="phpdocumentor-element-found-in__line">207</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.251" class="phpdocumentor-element-found-in__source" data-line="251" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.207" class="phpdocumentor-element-found-in__source" data-line="207" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Order the results by the selected field(s)</p>
|
||||
@ -1676,9 +1684,9 @@ prefixed with 'NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">276</span>
|
||||
<span class="phpdocumentor-element-found-in__line">232</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.276" class="phpdocumentor-element-found-in__source" data-line="276" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.232" class="phpdocumentor-element-found-in__source" data-line="232" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -1711,9 +1719,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">170</span>
|
||||
<span class="phpdocumentor-element-found-in__line">147</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.170" class="phpdocumentor-element-found-in__source" data-line="170" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.147" class="phpdocumentor-element-found-in__source" data-line="147" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a 'Having' clause prefixed with 'OR'</p>
|
||||
@ -1730,6 +1738,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1737,6 +1746,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1762,9 +1772,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">137</span>
|
||||
<span class="phpdocumentor-element-found-in__line">124</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.137" class="phpdocumentor-element-found-in__source" data-line="137" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.124" class="phpdocumentor-element-found-in__source" data-line="124" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates an OR Like clause</p>
|
||||
@ -1789,6 +1799,7 @@ prefixed with 'OR'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1822,9 +1833,9 @@ prefixed with 'OR'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">282</span>
|
||||
<span class="phpdocumentor-element-found-in__line">238</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.282" class="phpdocumentor-element-found-in__source" data-line="282" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.238" class="phpdocumentor-element-found-in__source" data-line="238" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Adds a paren to the current query for query grouping,
|
||||
@ -1857,9 +1868,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">151</span>
|
||||
<span class="phpdocumentor-element-found-in__line">134</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.151" class="phpdocumentor-element-found-in__source" data-line="151" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.134" class="phpdocumentor-element-found-in__source" data-line="134" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Generates a OR NOT LIKE clause</p>
|
||||
@ -1884,6 +1895,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1917,9 +1929,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">191</span>
|
||||
<span class="phpdocumentor-element-found-in__line">164</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.191" class="phpdocumentor-element-found-in__source" data-line="191" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.164" class="phpdocumentor-element-found-in__source" data-line="164" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where clause prefixed with "OR"</p>
|
||||
@ -1943,6 +1955,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -1968,9 +1981,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">207</span>
|
||||
<span class="phpdocumentor-element-found-in__line">174</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.207" class="phpdocumentor-element-found-in__source" data-line="207" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.174" class="phpdocumentor-element-found-in__source" data-line="174" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where in statement prefixed with "or"</p>
|
||||
@ -1987,6 +2000,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -1994,6 +2008,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2019,9 +2034,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">223</span>
|
||||
<span class="phpdocumentor-element-found-in__line">184</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.223" class="phpdocumentor-element-found-in__source" data-line="223" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.184" class="phpdocumentor-element-found-in__source" data-line="184" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">OR WHERE NOT IN (FOO) clause</p>
|
||||
@ -2038,6 +2053,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2045,6 +2061,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2070,9 +2087,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">385</span>
|
||||
<span class="phpdocumentor-element-found-in__line">333</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.385" class="phpdocumentor-element-found-in__source" data-line="385" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.333" class="phpdocumentor-element-found-in__source" data-line="333" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Clear out the class variables, so the next query can be run</p>
|
||||
@ -2104,9 +2121,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">68</span>
|
||||
<span class="phpdocumentor-element-found-in__line">69</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.68" class="phpdocumentor-element-found-in__source" data-line="68" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.69" class="phpdocumentor-element-found-in__source" data-line="69" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specifies rows to select in a query</p>
|
||||
@ -2149,16 +2166,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">89</span>
|
||||
<span class="phpdocumentor-element-found-in__line">84</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.89" class="phpdocumentor-element-found-in__source" data-line="89" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the average value of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectAvg</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectAvg</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -2173,9 +2190,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2201,16 +2219,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">75</span>
|
||||
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.75" class="phpdocumentor-element-found-in__source" data-line="75" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the maximum value of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -2225,9 +2243,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2253,16 +2272,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">82</span>
|
||||
<span class="phpdocumentor-element-found-in__line">79</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.79" class="phpdocumentor-element-found-in__source" data-line="79" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the minimum value of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -2277,9 +2296,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2305,16 +2325,16 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">96</span>
|
||||
<span class="phpdocumentor-element-found-in__line">89</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.96" class="phpdocumentor-element-found-in__source" data-line="96" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.89" class="phpdocumentor-element-found-in__source" data-line="89" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Selects the sum of a field from a query</p>
|
||||
|
||||
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||
<span class="phpdocumentor-signature__visibility">public</span>
|
||||
<span class="phpdocumentor-signature__name">selectSum</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|bool </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
<span class="phpdocumentor-signature__name">selectSum</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|string </span><span class="phpdocumentor-signature__argument__name">$as</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FALSE</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||
|
||||
|
||||
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||
@ -2329,9 +2349,10 @@ prefixed with 'OR NOT'</p>
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
<span class="phpdocumentor-signature__argument__name">$as</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string|bool</span>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">bool|string</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">FALSE</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2357,9 +2378,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">234</span>
|
||||
<span class="phpdocumentor-element-found-in__line">192</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.234" class="phpdocumentor-element-found-in__source" data-line="234" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.192" class="phpdocumentor-element-found-in__source" data-line="192" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Sets values for inserts / updates / deletes</p>
|
||||
@ -2376,6 +2397,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2383,6 +2405,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">NULL</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2408,9 +2431,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">115</span>
|
||||
<span class="phpdocumentor-element-found-in__line">106</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.115" class="phpdocumentor-element-found-in__source" data-line="115" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.106" class="phpdocumentor-element-found-in__source" data-line="106" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify the database table to select from</p>
|
||||
@ -2429,6 +2452,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2454,9 +2478,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">337</span>
|
||||
<span class="phpdocumentor-element-found-in__line">287</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.337" class="phpdocumentor-element-found-in__source" data-line="337" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.287" class="phpdocumentor-element-found-in__source" data-line="287" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates an update clause, and executes it</p>
|
||||
@ -2481,6 +2505,7 @@ prefixed with 'OR NOT'</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2506,9 +2531,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">347</span>
|
||||
<span class="phpdocumentor-element-found-in__line">297</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.347" class="phpdocumentor-element-found-in__source" data-line="347" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.297" class="phpdocumentor-element-found-in__source" data-line="297" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Creates a batch update, and executes it.</p>
|
||||
@ -2572,9 +2597,9 @@ prefixed with 'OR NOT'</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">183</span>
|
||||
<span class="phpdocumentor-element-found-in__line">157</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.183" class="phpdocumentor-element-found-in__source" data-line="183" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.157" class="phpdocumentor-element-found-in__source" data-line="157" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Specify condition(s) in the where clause of a query
|
||||
@ -2593,6 +2618,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2600,6 +2626,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2625,9 +2652,9 @@ passed array with key / value pairs</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">199</span>
|
||||
<span class="phpdocumentor-element-found-in__line">169</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.199" class="phpdocumentor-element-found-in__source" data-line="199" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.169" class="phpdocumentor-element-found-in__source" data-line="169" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Where clause with 'IN' statement</p>
|
||||
@ -2644,6 +2671,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2651,6 +2679,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
@ -2676,9 +2705,9 @@ passed array with key / value pairs</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryBuilderInterface.php"><a href="files/src-querybuilderinterface.html"><abbr title="src/QueryBuilderInterface.php">QueryBuilderInterface.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">215</span>
|
||||
<span class="phpdocumentor-element-found-in__line">179</span>
|
||||
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.215" class="phpdocumentor-element-found-in__source" data-line="215" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryBuilderInterface.html#source-view.179" class="phpdocumentor-element-found-in__source" data-line="179" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">WHERE NOT IN (FOO) clause</p>
|
||||
@ -2695,6 +2724,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||
</dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
<dt class="phpdocumentor-argument-list__entry">
|
||||
@ -2702,6 +2732,7 @@ passed array with key / value pairs</p>
|
||||
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||
<dd class="phpdocumentor-argument-list__definition">
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
@ -115,9 +115,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryParser.php"><a href="files/src-queryparser.html"><abbr title="src/QueryParser.php">QueryParser.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-QueryParser.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryParser.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Utility Class to parse sql clauses for properly escaping identifiers</p>
|
||||
@ -192,9 +192,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryParser.php"><a href="files/src-queryparser.html"><abbr title="src/QueryParser.php">QueryParser.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-QueryParser.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryParser.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Regex matches</p>
|
||||
@ -231,9 +231,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryParser.php"><a href="files/src-queryparser.html"><abbr title="src/QueryParser.php">QueryParser.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">47</span>
|
||||
<span class="phpdocumentor-element-found-in__line">48</span>
|
||||
|
||||
<a href="classes/Query-QueryParser.html#source-view.47" class="phpdocumentor-element-found-in__source" data-line="47" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryParser.html#source-view.48" class="phpdocumentor-element-found-in__source" data-line="48" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Constructor/entry point into parser</p>
|
||||
@ -276,9 +276,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryParser.php"><a href="files/src-queryparser.html"><abbr title="src/QueryParser.php">QueryParser.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||
<span class="phpdocumentor-element-found-in__line">77</span>
|
||||
|
||||
<a href="classes/Query-QueryParser.html#source-view.76" class="phpdocumentor-element-found-in__source" data-line="76" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryParser.html#source-view.77" class="phpdocumentor-element-found-in__source" data-line="77" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Compiles a join condition after parsing</p>
|
||||
@ -321,9 +321,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryParser.php"><a href="files/src-queryparser.html"><abbr title="src/QueryParser.php">QueryParser.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">56</span>
|
||||
<span class="phpdocumentor-element-found-in__line">57</span>
|
||||
|
||||
<a href="classes/Query-QueryParser.html#source-view.56" class="phpdocumentor-element-found-in__source" data-line="56" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryParser.html#source-view.57" class="phpdocumentor-element-found-in__source" data-line="57" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Parser method for setting the parse string</p>
|
||||
|
@ -117,9 +117,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view"></a>
|
||||
<a href="classes/Query-QueryType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Enum of query types</p>
|
||||
@ -153,56 +153,6 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INSERT">
|
||||
INSERT
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INSERT_BATCH">
|
||||
INSERT_BATCH
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view"></a>
|
||||
@ -221,8 +171,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_UPDATE">
|
||||
UPDATE
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INSERT">
|
||||
INSERT
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -246,8 +196,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_UPDATE_BATCH">
|
||||
UPDATE_BATCH
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_INSERT_BATCH">
|
||||
INSERT_BATCH
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -271,8 +221,8 @@
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_DELETE">
|
||||
DELETE
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_UPDATE">
|
||||
UPDATE
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
@ -289,6 +239,56 @@
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_UPDATE_BATCH">
|
||||
UPDATE_BATCH
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<article
|
||||
class="
|
||||
phpdocumentor-element
|
||||
-enum-case
|
||||
"
|
||||
>
|
||||
<h4 class="phpdocumentor-element__name" id="enumcase_DELETE">
|
||||
DELETE
|
||||
<a href="" class="headerlink"><i class="fas fa-link"></i></a>
|
||||
</h4>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/QueryType.php"><a href="files/src-querytype.html"><abbr title="src/QueryType.php">QueryType.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">29</span>
|
||||
|
||||
<a href="classes/Query-QueryType.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="phpdocumentor-description"></section>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
@ -115,9 +115,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">48</span>
|
||||
<span class="phpdocumentor-element-found-in__line">49</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.48" class="phpdocumentor-element-found-in__source" data-line="48" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.49" class="phpdocumentor-element-found-in__source" data-line="49" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Query builder state</p>
|
||||
@ -386,9 +386,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">136</span>
|
||||
<span class="phpdocumentor-element-found-in__line">138</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.136" class="phpdocumentor-element-found-in__source" data-line="136" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.138" class="phpdocumentor-element-found-in__source" data-line="138" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -439,9 +439,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">178</span>
|
||||
<span class="phpdocumentor-element-found-in__line">184</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.178" class="phpdocumentor-element-found-in__source" data-line="178" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.184" class="phpdocumentor-element-found-in__source" data-line="184" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -484,9 +484,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||
<span class="phpdocumentor-element-found-in__line">229</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.229" class="phpdocumentor-element-found-in__source" data-line="229" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -529,9 +529,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">209</span>
|
||||
<span class="phpdocumentor-element-found-in__line">218</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.209" class="phpdocumentor-element-found-in__source" data-line="209" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.218" class="phpdocumentor-element-found-in__source" data-line="218" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Add an additional set of mapping pairs to a internal map</p>
|
||||
@ -590,9 +590,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">160</span>
|
||||
<span class="phpdocumentor-element-found-in__line">163</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.160" class="phpdocumentor-element-found-in__source" data-line="160" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -635,9 +635,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">166</span>
|
||||
<span class="phpdocumentor-element-found-in__line">170</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.166" class="phpdocumentor-element-found-in__source" data-line="166" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.170" class="phpdocumentor-element-found-in__source" data-line="170" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -680,9 +680,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">184</span>
|
||||
<span class="phpdocumentor-element-found-in__line">191</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.184" class="phpdocumentor-element-found-in__source" data-line="184" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.191" class="phpdocumentor-element-found-in__source" data-line="191" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -725,9 +725,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">190</span>
|
||||
<span class="phpdocumentor-element-found-in__line">198</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.190" class="phpdocumentor-element-found-in__source" data-line="190" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.198" class="phpdocumentor-element-found-in__source" data-line="198" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -1488,9 +1488,9 @@
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/State.php"><a href="files/src-state.html"><abbr title="src/State.php">State.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">172</span>
|
||||
<span class="phpdocumentor-element-found-in__line">177</span>
|
||||
|
||||
<a href="classes/Query-State.html#source-view.172" class="phpdocumentor-element-found-in__source" data-line="172" data-modal="source-view"></a>
|
||||
<a href="classes/Query-State.html#source-view.177" class="phpdocumentor-element-found-in__source" data-line="177" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
|
||||
|
@ -221,9 +221,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="files/src-common.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
<a href="files/src-common.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Multibyte-safe trim function</p>
|
||||
@ -261,9 +261,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">35</span>
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
|
||||
<a href="files/src-common.html#source-view.35" class="phpdocumentor-element-found-in__source" data-line="35" data-modal="source-view"></a>
|
||||
<a href="files/src-common.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Filter out db rows into one array</p>
|
||||
@ -309,9 +309,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">53</span>
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
|
||||
<a href="files/src-common.html#source-view.53" class="phpdocumentor-element-found-in__source" data-line="53" data-modal="source-view"></a>
|
||||
<a href="files/src-common.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Zip a set of arrays together on common keys</p>
|
||||
@ -352,9 +352,9 @@ array.</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||
|
||||
<a href="files/src-common.html#source-view.76" class="phpdocumentor-element-found-in__source" data-line="76" data-modal="source-view"></a>
|
||||
<a href="files/src-common.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Determine whether a value in the passed array matches the pattern
|
||||
@ -401,9 +401,9 @@ passed</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">102</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="files/src-common.html#source-view.102" class="phpdocumentor-element-found-in__source" data-line="102" data-modal="source-view"></a>
|
||||
<a href="files/src-common.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Connection function</p>
|
||||
|
@ -13,17 +13,20 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
use DomainException;
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Exception\{BadDBDriverException, NonExistentConnectionException};
|
||||
use stdClass;
|
||||
|
||||
/**
|
||||
* Connection manager class to manage connections for the
|
||||
* Query method
|
||||
*/
|
||||
final class ConnectionManager {
|
||||
|
||||
final class ConnectionManager
|
||||
{
|
||||
/**
|
||||
* Map of named database connections
|
||||
*/
|
||||
@ -36,8 +39,8 @@ final class ConnectionManager {
|
||||
|
||||
/**
|
||||
* Private constructor to prevent multiple instances
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
@ -91,7 +94,6 @@ final class ConnectionManager {
|
||||
/**
|
||||
* Returns the connection specified by the name given
|
||||
*
|
||||
* @param string $name
|
||||
* @throws Exception\NonExistentConnectionException
|
||||
*/
|
||||
public function getConnection(string $name = ''): QueryBuilderInterface
|
||||
@ -108,20 +110,17 @@ final class ConnectionManager {
|
||||
}
|
||||
|
||||
// You should actually connect before trying to get a connection...
|
||||
throw new Exception\NonExistentConnectionException('The specified connection does not exist');
|
||||
throw new NonExistentConnectionException('The specified connection does not exist');
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse the passed parameters and return a connection
|
||||
*
|
||||
* @param array|object $params
|
||||
* @return QueryBuilderInterface
|
||||
*/
|
||||
public function connect(array|object $params): QueryBuilderInterface
|
||||
{
|
||||
[$dsn, $dbType, $params, $options] = $this->parseParams($params);
|
||||
|
||||
$dbType = ucfirst($dbType);
|
||||
$dbType = ucfirst((string) $dbType);
|
||||
$driver = "\\Query\\Drivers\\{$dbType}\\Driver";
|
||||
|
||||
// Create the database connection
|
||||
@ -138,7 +137,6 @@ final class ConnectionManager {
|
||||
// Create Query Builder object
|
||||
$conn = new QueryBuilder($db, new QueryParser($db));
|
||||
|
||||
|
||||
// Save it for later
|
||||
if (isset($params->alias))
|
||||
{
|
||||
@ -155,21 +153,19 @@ final class ConnectionManager {
|
||||
/**
|
||||
* Parses params into a dsn and option array
|
||||
*
|
||||
* @param array|object $rawParams
|
||||
* @throws Exception\BadDBDriverException
|
||||
* @return array
|
||||
*/
|
||||
public function parseParams(array|object $rawParams): array
|
||||
{
|
||||
$params = (object) $rawParams;
|
||||
$params->type = strtolower($params->type);
|
||||
$params->type = strtolower((string) $params->type);
|
||||
$dbType = ($params->type === 'postgresql') ? 'pgsql' : $params->type;
|
||||
$dbType = ucfirst($dbType);
|
||||
|
||||
// Make sure the class exists
|
||||
if ( ! class_exists("\\Query\\Drivers\\{$dbType}\\Driver"))
|
||||
{
|
||||
throw new Exception\BadDBDriverException('Database driver does not exist, or is not supported');
|
||||
throw new BadDBDriverException('Database driver does not exist, or is not supported');
|
||||
}
|
||||
|
||||
// Set additional PDO options
|
||||
@ -183,15 +179,13 @@ final class ConnectionManager {
|
||||
// Create the dsn for the database to connect to
|
||||
$dsn = strtolower($dbType) === 'sqlite' ? $params->file : $this->createDsn($dbType, $params);
|
||||
|
||||
|
||||
return [$dsn, $dbType, $params, $options];
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the dsn from the db type and params
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
private function createDsn(string $dbType, stdClass $params): string
|
||||
{
|
||||
$pairs = [];
|
||||
@ -209,12 +203,12 @@ final class ConnectionManager {
|
||||
'prefix' => 'prefix',
|
||||
'options' => 'options',
|
||||
'database' => 'database',
|
||||
'alias' => 'alias'
|
||||
'alias' => 'alias',
|
||||
];
|
||||
|
||||
foreach($params as $key => $val)
|
||||
foreach ($params as $key => $val)
|
||||
{
|
||||
if (( ! array_key_exists($key, $skip)) && ! empty($val))
|
||||
if (( ! array_key_exists($key, $skip)) && ! empty($val))
|
||||
{
|
||||
$pairs[] = implode('=', [$key, $val]);
|
||||
}
|
||||
|
@ -13,11 +13,13 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use PDO;
|
||||
use PDOStatement;
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
|
||||
use function call_user_func_array;
|
||||
use function dbFilter;
|
||||
@ -29,10 +31,8 @@ use function is_string;
|
||||
*
|
||||
* Extends PDO to simplify cross-database issues
|
||||
*/
|
||||
abstract class AbstractDriver
|
||||
extends PDO
|
||||
implements DriverInterface {
|
||||
|
||||
abstract class AbstractDriver extends PDO implements DriverInterface
|
||||
{
|
||||
/**
|
||||
* Reference to the last executed query
|
||||
*/
|
||||
@ -76,7 +76,7 @@ abstract class AbstractDriver
|
||||
/**
|
||||
* PDO constructor wrapper
|
||||
*/
|
||||
public function __construct(string $dsn, string $username=NULL, string $password=NULL, array $driverOptions=[])
|
||||
public function __construct(string $dsn, ?string $username=NULL, ?string $password=NULL, array $driverOptions=[])
|
||||
{
|
||||
// Set PDO to display errors as exceptions, and apply driver options
|
||||
$driverOptions[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION;
|
||||
@ -85,14 +85,33 @@ abstract class AbstractDriver
|
||||
$this->_loadSubClasses();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow invoke to work on table object
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function __call(string $name, array $args = [])
|
||||
{
|
||||
if (
|
||||
isset($this->$name)
|
||||
&& is_object($this->$name)
|
||||
&& method_exists($this->$name, '__invoke')
|
||||
) {
|
||||
return call_user_func_array([$this->$name, '__invoke'], $args);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the subclasses for the driver
|
||||
*/
|
||||
protected function _loadSubClasses(): void
|
||||
{
|
||||
// Load the sql and util class for the driver
|
||||
$thisClass = $this::class;
|
||||
$nsArray = explode("\\", $thisClass);
|
||||
$thisClass = static::class;
|
||||
$nsArray = explode('\\', $thisClass);
|
||||
array_pop($nsArray);
|
||||
$driver = array_pop($nsArray);
|
||||
$sqlClass = __NAMESPACE__ . "\\{$driver}\\SQL";
|
||||
@ -102,26 +121,6 @@ abstract class AbstractDriver
|
||||
$this->util = new $utilClass($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow invoke to work on table object
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call(string $name, array $args = [])
|
||||
{
|
||||
if (
|
||||
isset($this->$name)
|
||||
&& is_object($this->$name)
|
||||
&& method_exists($this->$name, '__invoke')
|
||||
)
|
||||
{
|
||||
return call_user_func_array([$this->$name, '__invoke'], $args);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Accessors / Mutators
|
||||
// --------------------------------------------------------------------------
|
||||
@ -177,11 +176,11 @@ abstract class AbstractDriver
|
||||
$this->statement = $this->prepare($sql);
|
||||
|
||||
// Bind the parameters
|
||||
foreach($data as $k => $value)
|
||||
foreach ($data as $k => $value)
|
||||
{
|
||||
// Parameters are 1-based, the data is 0-based
|
||||
// So, if the key is numeric, add 1
|
||||
if(is_numeric($k))
|
||||
if (is_numeric($k))
|
||||
{
|
||||
$k++;
|
||||
}
|
||||
@ -258,7 +257,7 @@ abstract class AbstractDriver
|
||||
{
|
||||
if (is_array($identifier))
|
||||
{
|
||||
return array_map([$this, __METHOD__], $identifier);
|
||||
return array_map(__METHOD__, $identifier);
|
||||
}
|
||||
|
||||
// Make all the string-handling methods happy
|
||||
@ -268,7 +267,7 @@ abstract class AbstractDriver
|
||||
if (str_contains($identifier, ','))
|
||||
{
|
||||
$parts = array_map('mb_trim', explode(',', $identifier));
|
||||
$parts = array_map([$this, __METHOD__], $parts);
|
||||
$parts = array_map(__METHOD__, $parts);
|
||||
$identifier = implode(',', $parts);
|
||||
}
|
||||
|
||||
@ -277,12 +276,13 @@ abstract class AbstractDriver
|
||||
$hiers = array_map('mb_trim', $hiers);
|
||||
|
||||
// Re-compile the string
|
||||
$raw = implode('.', array_map([$this, '_quote'], $hiers));
|
||||
$raw = implode('.', array_map($this->_quote(...), $hiers));
|
||||
|
||||
// Fix functions
|
||||
$funcs = [];
|
||||
preg_match_all("#{$this->escapeCharOpen}([a-zA-Z0-9_]+(\((.*?)\))){$this->escapeCharClose}#iu", $raw, $funcs, PREG_SET_ORDER);
|
||||
foreach($funcs as $f)
|
||||
|
||||
foreach ($funcs as $f)
|
||||
{
|
||||
// Unquote the function
|
||||
// Quote the inside identifiers
|
||||
@ -308,6 +308,7 @@ abstract class AbstractDriver
|
||||
{
|
||||
$tables = $this->driverQuery('tableList');
|
||||
natsort($tables);
|
||||
|
||||
return $tables;
|
||||
}
|
||||
|
||||
@ -326,6 +327,7 @@ abstract class AbstractDriver
|
||||
{
|
||||
$views = $this->driverQuery('viewList');
|
||||
sort($views);
|
||||
|
||||
return $views;
|
||||
}
|
||||
|
||||
@ -456,6 +458,7 @@ abstract class AbstractDriver
|
||||
if (preg_match($regex, $this->lastQuery, $output) > 0)
|
||||
{
|
||||
$stmt = $this->query("SELECT COUNT(*) FROM {$output[1]}");
|
||||
|
||||
return (int) $stmt->fetchColumn();
|
||||
}
|
||||
|
||||
@ -472,7 +475,8 @@ abstract class AbstractDriver
|
||||
|
||||
// Values for insertion
|
||||
$vals = [];
|
||||
foreach($data as $group)
|
||||
|
||||
foreach ($data as $group)
|
||||
{
|
||||
$vals = [...$vals, ...array_values($group)];
|
||||
}
|
||||
@ -533,6 +537,7 @@ abstract class AbstractDriver
|
||||
$line = $this->quoteIdent($field) . " = CASE\n";
|
||||
|
||||
$cases = [];
|
||||
|
||||
foreach ($data as $case)
|
||||
{
|
||||
if (array_key_exists($field, $case))
|
||||
@ -553,6 +558,7 @@ abstract class AbstractDriver
|
||||
$sql .= implode(",\n", $fieldLines) . "\n";
|
||||
|
||||
$whereValues = array_column($data, $where);
|
||||
|
||||
foreach ($whereValues as $value)
|
||||
{
|
||||
$insertData[] = $value;
|
||||
@ -579,6 +585,7 @@ abstract class AbstractDriver
|
||||
$sql .= $this->quoteTable($table);
|
||||
|
||||
$this->statement = $this->query($sql);
|
||||
|
||||
return $this->statement;
|
||||
}
|
||||
|
||||
@ -592,9 +599,6 @@ abstract class AbstractDriver
|
||||
|
||||
/**
|
||||
* Helper method for quote_ident
|
||||
*
|
||||
* @param mixed $str
|
||||
* @return mixed
|
||||
*/
|
||||
public function _quote(mixed $str): mixed
|
||||
{
|
||||
@ -608,7 +612,6 @@ abstract class AbstractDriver
|
||||
)
|
||||
? "{$this->escapeCharOpen}{$str}{$this->escapeCharClose}"
|
||||
: $str;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -13,13 +13,14 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers;
|
||||
|
||||
/**
|
||||
* Parent for database-specific syntax subclasses
|
||||
*/
|
||||
abstract class AbstractSQL implements SQLInterface {
|
||||
|
||||
abstract class AbstractSQL implements SQLInterface
|
||||
{
|
||||
/**
|
||||
* Limit clause
|
||||
*/
|
||||
|
@ -13,13 +13,16 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers;
|
||||
|
||||
use function arrayZipper;
|
||||
|
||||
/**
|
||||
* Abstract class defining database / table creation methods
|
||||
*/
|
||||
abstract class AbstractUtil {
|
||||
|
||||
abstract class AbstractUtil
|
||||
{
|
||||
/**
|
||||
* Save a reference to the connection object for later use
|
||||
*/
|
||||
@ -48,14 +51,15 @@ abstract class AbstractUtil {
|
||||
// 'constraint' => ...,
|
||||
// 'index' => ...,
|
||||
// ]
|
||||
$columnArray = \arrayZipper([
|
||||
$columnArray = arrayZipper([
|
||||
'type' => $fields,
|
||||
'constraint' => $constraints
|
||||
'constraint' => $constraints,
|
||||
]);
|
||||
|
||||
// Join column definitions together
|
||||
$columns = [];
|
||||
foreach($columnArray as $n => $props)
|
||||
|
||||
foreach ($columnArray as $n => $props)
|
||||
{
|
||||
$str = $this->getDriver()->quoteIdent($n);
|
||||
$str .= isset($props['type']) ? " {$props['type']}" : '';
|
||||
@ -65,7 +69,7 @@ abstract class AbstractUtil {
|
||||
}
|
||||
|
||||
// Generate the sql for the creation of the table
|
||||
$sql = 'CREATE TABLE'.$existsStr.$this->getDriver()->quoteTable($name).' (';
|
||||
$sql = 'CREATE TABLE' . $existsStr . $this->getDriver()->quoteTable($name) . ' (';
|
||||
$sql .= implode(', ', $columns);
|
||||
$sql .= ')';
|
||||
|
||||
@ -77,7 +81,7 @@ abstract class AbstractUtil {
|
||||
*/
|
||||
public function deleteTable(string $name): string
|
||||
{
|
||||
return 'DROP TABLE IF EXISTS '.$this->getDriver()->quoteTable($name);
|
||||
return 'DROP TABLE IF EXISTS ' . $this->getDriver()->quoteTable($name);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
@ -85,16 +89,11 @@ abstract class AbstractUtil {
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Return an SQL file with the database table structure
|
||||
*
|
||||
* @abstract
|
||||
*/
|
||||
abstract public function backupStructure(): string;
|
||||
|
||||
/**
|
||||
* Return an SQL file with the database data as insert statements
|
||||
*
|
||||
* @abstract
|
||||
*/
|
||||
abstract public function backupData(): string;
|
||||
|
||||
}
|
@ -13,9 +13,9 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use PDO;
|
||||
use PDOStatement;
|
||||
|
||||
@ -36,12 +36,12 @@ use PDOStatement;
|
||||
* @method rollback(): bool
|
||||
* @method setAttribute(int $attribute, $value): bool
|
||||
*/
|
||||
interface DriverInterface /* extends the interface of PDO */ {
|
||||
|
||||
interface DriverInterface // extends the interface of PDO
|
||||
{
|
||||
/**
|
||||
* Constructor/Connection method
|
||||
*/
|
||||
public function __construct(string $dsn, string $username=NULL, string $password=NULL, array $driverOptions = []);
|
||||
public function __construct(string $dsn, ?string $username=NULL, ?string $password=NULL, array $driverOptions = []);
|
||||
|
||||
/**
|
||||
* Simplifies prepared statements for database queries
|
||||
|
@ -13,17 +13,19 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Mysql;
|
||||
|
||||
use PDO;
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Drivers\AbstractDriver;
|
||||
use function defined;
|
||||
|
||||
/**
|
||||
* MySQL specific class
|
||||
*/
|
||||
class Driver extends AbstractDriver {
|
||||
|
||||
class Driver extends AbstractDriver
|
||||
{
|
||||
/**
|
||||
* Set the backtick as the MySQL escape character
|
||||
*/
|
||||
@ -36,10 +38,9 @@ class Driver extends AbstractDriver {
|
||||
|
||||
/**
|
||||
* Connect to MySQL Database
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function __construct(string $dsn, string $username=NULL, string $password=NULL, array $options=[])
|
||||
#[CodeCoverageIgnore]
|
||||
public function __construct(string $dsn, ?string $username=NULL, ?string $password=NULL, array $options=[])
|
||||
{
|
||||
// Set the charset to UTF-8
|
||||
if (defined('\\PDO::MYSQL_ATTR_INIT_COMMAND'))
|
||||
@ -51,7 +52,7 @@ class Driver extends AbstractDriver {
|
||||
|
||||
if ( ! str_contains($dsn, 'mysql'))
|
||||
{
|
||||
$dsn = 'mysql:'.$dsn;
|
||||
$dsn = 'mysql:' . $dsn;
|
||||
}
|
||||
|
||||
parent::__construct($dsn, $username, $password, $options);
|
||||
@ -67,7 +68,7 @@ class Driver extends AbstractDriver {
|
||||
if (
|
||||
stripos($query, 'insert') !== FALSE
|
||||
&& version_compare($this->getVersion(), '10.5.0', '>=')
|
||||
){
|
||||
) {
|
||||
return parent::returning($query, $select);
|
||||
}
|
||||
|
||||
@ -75,7 +76,7 @@ class Driver extends AbstractDriver {
|
||||
if (
|
||||
stripos($query, 'delete') !== FALSE
|
||||
&& version_compare($this->getVersion(), '10.0.5', '>=')
|
||||
){
|
||||
) {
|
||||
return parent::returning($query, $select);
|
||||
}
|
||||
|
||||
|
@ -13,15 +13,17 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Mysql;
|
||||
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Drivers\AbstractSQL;
|
||||
|
||||
/**
|
||||
* MySQL specific SQL
|
||||
*/
|
||||
class SQL extends AbstractSQL {
|
||||
|
||||
class SQL extends AbstractSQL
|
||||
{
|
||||
/**
|
||||
* Limit clause
|
||||
*/
|
||||
@ -29,10 +31,10 @@ class SQL extends AbstractSQL {
|
||||
{
|
||||
if ( ! is_numeric($offset))
|
||||
{
|
||||
return $sql." LIMIT {$limit}";
|
||||
return $sql . " LIMIT {$limit}";
|
||||
}
|
||||
|
||||
return $sql." LIMIT {$offset}, {$limit}";
|
||||
return $sql . " LIMIT {$offset}, {$limit}";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -56,10 +58,9 @@ class SQL extends AbstractSQL {
|
||||
*/
|
||||
public function dbList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SHOW DATABASES WHERE `Database` NOT IN ('information_schema','mysql')
|
||||
SQL;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -82,7 +83,7 @@ SQL;
|
||||
*/
|
||||
public function systemTableList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT `TABLE_NAME` FROM `information_schema`.`TABLES`
|
||||
WHERE `TABLE_SCHEMA`='information_schema'
|
||||
SQL;
|
||||
@ -98,9 +99,8 @@ SQL;
|
||||
|
||||
/**
|
||||
* Returns sql to list triggers
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function triggerList(): string
|
||||
{
|
||||
return 'SHOW TRIGGERS';
|
||||
@ -108,9 +108,8 @@ SQL;
|
||||
|
||||
/**
|
||||
* Return sql to list functions
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function functionList(): string
|
||||
{
|
||||
return 'SHOW FUNCTION STATUS';
|
||||
@ -118,9 +117,8 @@ SQL;
|
||||
|
||||
/**
|
||||
* Return sql to list stored procedures
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function procedureList(): string
|
||||
{
|
||||
return 'SHOW PROCEDURE STATUS';
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Mysql;
|
||||
|
||||
use PDO;
|
||||
@ -21,8 +22,8 @@ use Query\Drivers\AbstractUtil;
|
||||
/**
|
||||
* MySQL-specific backup, import and creation methods
|
||||
*/
|
||||
class Util extends AbstractUtil {
|
||||
|
||||
class Util extends AbstractUtil
|
||||
{
|
||||
/**
|
||||
* Create an SQL backup file for the current database's structure
|
||||
*/
|
||||
@ -34,7 +35,7 @@ class Util extends AbstractUtil {
|
||||
$driver = $this->getDriver();
|
||||
$dbs = $driver->getDbs();
|
||||
|
||||
foreach($dbs as &$d)
|
||||
foreach ($dbs as &$d)
|
||||
{
|
||||
// Skip built-in dbs
|
||||
// @codeCoverageIgnoreStart
|
||||
@ -47,7 +48,7 @@ class Util extends AbstractUtil {
|
||||
// Get the list of tables
|
||||
$tables = $driver->driverQuery("SHOW TABLES FROM `{$d}`", TRUE);
|
||||
|
||||
foreach($tables as $table)
|
||||
foreach ($tables as $table)
|
||||
{
|
||||
$array = $driver->driverQuery("SHOW CREATE TABLE `{$d}`.`{$table}`", FALSE);
|
||||
$row = current($array);
|
||||
@ -57,7 +58,6 @@ class Util extends AbstractUtil {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
$string[] = $row['Create Table'];
|
||||
}
|
||||
}
|
||||
@ -74,7 +74,7 @@ class Util extends AbstractUtil {
|
||||
$tables = $driver->getTables();
|
||||
|
||||
// Filter out the tables you don't want
|
||||
if( ! empty($exclude))
|
||||
if ( ! empty($exclude))
|
||||
{
|
||||
$tables = array_diff($tables, $exclude);
|
||||
}
|
||||
@ -82,7 +82,7 @@ class Util extends AbstractUtil {
|
||||
$outputSql = '';
|
||||
|
||||
// Select the rows from each Table
|
||||
foreach($tables as $t)
|
||||
foreach ($tables as $t)
|
||||
{
|
||||
$sql = "SELECT * FROM `{$t}`";
|
||||
$res = $driver->query($sql);
|
||||
@ -100,22 +100,22 @@ class Util extends AbstractUtil {
|
||||
$insertRows = [];
|
||||
|
||||
// Create the insert statements
|
||||
foreach($rows as $row)
|
||||
foreach ($rows as $row)
|
||||
{
|
||||
$row = array_values($row);
|
||||
|
||||
// Quote strings
|
||||
$row = array_map(fn ($r) => is_string($r) ? $driver->quote($r) : $r, $row);
|
||||
$row = array_map(static fn ($r) => is_string($r) ? $driver->quote($r) : $r, $row);
|
||||
$row = array_map('trim', $row);
|
||||
|
||||
$rowString = 'INSERT INTO `'.trim($t).'` (`'.implode('`,`', $columns).'`) VALUES ('.implode(',', $row).');';
|
||||
$rowString = 'INSERT INTO `' . trim((string) $t) . '` (`' . implode('`,`', $columns) . '`) VALUES (' . implode(',', $row) . ');';
|
||||
|
||||
$row = NULL;
|
||||
|
||||
$insertRows[] = $rowString;
|
||||
}
|
||||
|
||||
$outputSql .= "\n\n".implode("\n", $insertRows)."\n";
|
||||
$outputSql .= "\n\n" . implode("\n", $insertRows) . "\n";
|
||||
}
|
||||
|
||||
return $outputSql;
|
||||
|
@ -13,25 +13,26 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Pgsql;
|
||||
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Drivers\AbstractDriver;
|
||||
|
||||
/**
|
||||
* PostgreSQL specific class
|
||||
*/
|
||||
class Driver extends AbstractDriver {
|
||||
|
||||
class Driver extends AbstractDriver
|
||||
{
|
||||
/**
|
||||
* Connect to a PosgreSQL database
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function __construct(string $dsn, string $username=NULL, string $password=NULL, array $options=[])
|
||||
#[CodeCoverageIgnore]
|
||||
public function __construct(string $dsn, ?string $username=NULL, ?string $password=NULL, array $options=[])
|
||||
{
|
||||
if ( ! str_contains($dsn, 'pgsql'))
|
||||
{
|
||||
$dsn = 'pgsql:'.$dsn;
|
||||
$dsn = 'pgsql:' . $dsn;
|
||||
}
|
||||
|
||||
parent::__construct($dsn, $username, $password, $options);
|
||||
@ -63,9 +64,9 @@ SQL;
|
||||
|
||||
$keys = parent::getFks($table);
|
||||
|
||||
foreach($keys as &$key)
|
||||
foreach ($keys as &$key)
|
||||
{
|
||||
foreach(['update', 'delete'] AS $type)
|
||||
foreach (['update', 'delete'] as $type)
|
||||
{
|
||||
if ( ! isset($valueMap[$key[$type]]))
|
||||
{
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Pgsql;
|
||||
|
||||
use Query\Drivers\AbstractSQL;
|
||||
@ -20,8 +21,8 @@ use Query\Drivers\AbstractSQL;
|
||||
/**
|
||||
* PostgreSQL specific SQL
|
||||
*/
|
||||
class SQL extends AbstractSQL {
|
||||
|
||||
class SQL extends AbstractSQL
|
||||
{
|
||||
/**
|
||||
* Get the query plan for the sql query
|
||||
*/
|
||||
@ -43,7 +44,7 @@ class SQL extends AbstractSQL {
|
||||
*/
|
||||
public function dbList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "datname" FROM "pg_database"
|
||||
WHERE "datname" NOT IN ('template0','template1')
|
||||
ORDER BY "datname" ASC
|
||||
@ -55,7 +56,7 @@ SQL;
|
||||
*/
|
||||
public function tableList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "table_name"
|
||||
FROM "information_schema"."tables"
|
||||
WHERE "table_type" = 'BASE TABLE'
|
||||
@ -69,7 +70,7 @@ SQL;
|
||||
*/
|
||||
public function systemTableList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "table_name"
|
||||
FROM "information_schema"."tables"
|
||||
WHERE "table_type" = 'BASE TABLE'
|
||||
@ -83,7 +84,7 @@ SQL;
|
||||
*/
|
||||
public function viewList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "viewname" FROM "pg_views"
|
||||
WHERE "schemaname" NOT IN
|
||||
('pg_catalog', 'information_schema')
|
||||
@ -97,7 +98,7 @@ SQL;
|
||||
*/
|
||||
public function triggerList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT *
|
||||
FROM "information_schema"."triggers"
|
||||
WHERE "trigger_schema" NOT IN
|
||||
@ -118,7 +119,7 @@ SQL;
|
||||
*/
|
||||
public function procedureList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "routine_name"
|
||||
FROM "information_schema"."routines"
|
||||
WHERE "specific_schema" NOT IN
|
||||
@ -132,7 +133,7 @@ SQL;
|
||||
*/
|
||||
public function sequenceList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "c"."relname"
|
||||
FROM "pg_class" "c"
|
||||
WHERE "c"."relkind" = 'S'
|
||||
@ -164,7 +165,7 @@ SQL;
|
||||
*/
|
||||
public function typeList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "typname" FROM "pg_catalog"."pg_type"
|
||||
WHERE "typname" !~ '^pg_|_'
|
||||
AND "typtype" = 'b'
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Pgsql;
|
||||
|
||||
use PDO;
|
||||
@ -21,8 +22,8 @@ use Query\Drivers\AbstractUtil;
|
||||
/**
|
||||
* Postgres-specific backup, import and creation methods
|
||||
*/
|
||||
class Util extends AbstractUtil {
|
||||
|
||||
class Util extends AbstractUtil
|
||||
{
|
||||
/**
|
||||
* Create an SQL backup file for the current database's structure
|
||||
*/
|
||||
@ -40,7 +41,7 @@ class Util extends AbstractUtil {
|
||||
$tables = $this->getDriver()->getTables();
|
||||
|
||||
// Filter out the tables you don't want
|
||||
if( ! empty($exclude))
|
||||
if ( ! empty($exclude))
|
||||
{
|
||||
$tables = array_diff($tables, $exclude);
|
||||
}
|
||||
@ -48,9 +49,9 @@ class Util extends AbstractUtil {
|
||||
$outputSql = '';
|
||||
|
||||
// Get the data for each object
|
||||
foreach($tables as $t)
|
||||
foreach ($tables as $t)
|
||||
{
|
||||
$sql = 'SELECT * FROM "'.trim($t).'"';
|
||||
$sql = 'SELECT * FROM "' . trim((string) $t) . '"';
|
||||
$res = $this->getDriver()->query($sql);
|
||||
$objRes = $res->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
@ -68,7 +69,7 @@ class Util extends AbstractUtil {
|
||||
$insertRows = [];
|
||||
|
||||
// Create the insert statements
|
||||
foreach($objRes as $row)
|
||||
foreach ($objRes as $row)
|
||||
{
|
||||
$row = array_values($row);
|
||||
|
||||
@ -76,8 +77,7 @@ class Util extends AbstractUtil {
|
||||
$row = array_map([$this->getDriver(), 'quote'], $row);
|
||||
$row = array_map('trim', $row);
|
||||
|
||||
|
||||
$rowString = 'INSERT INTO "'.trim($t).'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');';
|
||||
$rowString = 'INSERT INTO "' . trim((string) $t) . '" ("' . implode('","', $columns) . '") VALUES (' . implode(',', $row) . ');';
|
||||
|
||||
$row = NULL;
|
||||
|
||||
@ -86,7 +86,7 @@ class Util extends AbstractUtil {
|
||||
|
||||
$objRes = NULL;
|
||||
|
||||
$outputSql .= "\n\n".implode("\n", $insertRows)."\n";
|
||||
$outputSql .= "\n\n" . implode("\n", $insertRows) . "\n";
|
||||
}
|
||||
|
||||
return $outputSql;
|
||||
|
@ -13,13 +13,14 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers;
|
||||
|
||||
/**
|
||||
* Interface for database-specific syntax subclasses
|
||||
*/
|
||||
interface SQLInterface {
|
||||
|
||||
interface SQLInterface
|
||||
{
|
||||
/**
|
||||
* Get database specific sql for limit clause
|
||||
*/
|
||||
|
@ -13,18 +13,21 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
namespace Query\Drivers\Sqlite;
|
||||
|
||||
use function is_array;
|
||||
namespace Query\Drivers\Sqlite;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use PDO;
|
||||
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Drivers\AbstractDriver;
|
||||
use function is_array;
|
||||
|
||||
/**
|
||||
* SQLite specific class
|
||||
*/
|
||||
class Driver extends AbstractDriver {
|
||||
class Driver extends AbstractDriver
|
||||
{
|
||||
/**
|
||||
* SQLite has a truncate optimization,
|
||||
* but no support for the actual keyword
|
||||
@ -34,7 +37,7 @@ class Driver extends AbstractDriver {
|
||||
/**
|
||||
* Open SQLite Database
|
||||
*/
|
||||
public function __construct(string $dsn, string $user=NULL, string $pass=NULL, array $driverOptions=[])
|
||||
public function __construct(string $dsn, ?string $user=NULL, ?string $pass=NULL, array $driverOptions=[])
|
||||
{
|
||||
if ( ! str_contains($dsn, 'sqlite:'))
|
||||
{
|
||||
@ -59,6 +62,7 @@ class Driver extends AbstractDriver {
|
||||
{
|
||||
$sql = $this->getSql()->tableList();
|
||||
$res = $this->query($sql);
|
||||
|
||||
return dbFilter($res->fetchAll(PDO::FETCH_ASSOC), 'name');
|
||||
}
|
||||
|
||||
@ -69,14 +73,14 @@ class Driver extends AbstractDriver {
|
||||
{
|
||||
$returnRows = [];
|
||||
|
||||
foreach(parent::getFks($table) as $row)
|
||||
foreach (parent::getFks($table) as $row)
|
||||
{
|
||||
$returnRows[] = [
|
||||
'child_column' => $row['from'],
|
||||
'parent_table' => $row['table'],
|
||||
'parent_column' => $row['to'],
|
||||
'update' => $row['on_update'],
|
||||
'delete' => $row['on_delete']
|
||||
'delete' => $row['on_delete'],
|
||||
];
|
||||
}
|
||||
|
||||
@ -86,9 +90,9 @@ class Driver extends AbstractDriver {
|
||||
/**
|
||||
* Create sql for batch insert
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return array[]|string[]|null[]
|
||||
* @return array[]|null[]|string[]
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function insertBatch(string $table, array $data=[]): array
|
||||
{
|
||||
// If greater than version 3.7.11, supports the same syntax as
|
||||
@ -115,13 +119,14 @@ class Driver extends AbstractDriver {
|
||||
// Create a key-value mapping for each field
|
||||
$first = array_shift($data);
|
||||
$cols = [];
|
||||
foreach($first as $colName => $datum)
|
||||
|
||||
foreach ($first as $colName => $datum)
|
||||
{
|
||||
$cols[] = $this->_quote($datum) . ' AS ' . $this->quoteIdent($colName);
|
||||
}
|
||||
$sql .= 'SELECT ' . implode(', ', $cols) . "\n";
|
||||
|
||||
foreach($data as $union)
|
||||
foreach ($data as $union)
|
||||
{
|
||||
$vals = array_map([$this, 'quote'], $union);
|
||||
$sql .= 'UNION SELECT ' . implode(',', $vals) . "\n";
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Sqlite;
|
||||
|
||||
use Query\Drivers\AbstractSQL;
|
||||
@ -21,8 +22,8 @@ use Query\Exception\NotImplementedException;
|
||||
/**
|
||||
* SQLite Specific SQL
|
||||
*/
|
||||
class SQL extends AbstractSQL {
|
||||
|
||||
class SQL extends AbstractSQL
|
||||
{
|
||||
/**
|
||||
* Get the query plan for the sql query
|
||||
*/
|
||||
@ -53,7 +54,7 @@ class SQL extends AbstractSQL {
|
||||
*/
|
||||
public function tableList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "name" FROM (
|
||||
SELECT * FROM "sqlite_master" UNION ALL
|
||||
SELECT * FROM "sqlite_temp_master"
|
||||
@ -74,7 +75,7 @@ SQL;
|
||||
return [
|
||||
'sqlite_master',
|
||||
'sqlite_temp_master',
|
||||
'sqlite_sequence'
|
||||
'sqlite_sequence',
|
||||
];
|
||||
}
|
||||
|
||||
@ -83,7 +84,7 @@ SQL;
|
||||
*/
|
||||
public function viewList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "name" FROM "sqlite_master" WHERE "type" = 'view'
|
||||
SQL;
|
||||
}
|
||||
@ -93,7 +94,7 @@ SQL;
|
||||
*/
|
||||
public function triggerList(): string
|
||||
{
|
||||
return <<<SQL
|
||||
return <<<'SQL'
|
||||
SELECT "name" FROM "sqlite_master" WHERE "type"='trigger'
|
||||
SQL;
|
||||
}
|
||||
@ -157,7 +158,6 @@ SQL;
|
||||
SQL;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the list of indexes for the current table
|
||||
*/
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Drivers\Sqlite;
|
||||
|
||||
use PDO;
|
||||
@ -21,8 +22,8 @@ use Query\Drivers\AbstractUtil;
|
||||
/**
|
||||
* SQLite-specific backup, import and creation methods
|
||||
*/
|
||||
class Util extends AbstractUtil {
|
||||
|
||||
class Util extends AbstractUtil
|
||||
{
|
||||
/**
|
||||
* Create an SQL backup file for the current database's data
|
||||
*/
|
||||
@ -33,9 +34,9 @@ class Util extends AbstractUtil {
|
||||
FROM "sqlite_master"
|
||||
WHERE "type"=\'table\'';
|
||||
|
||||
if( ! empty($excluded))
|
||||
if ( ! empty($excluded))
|
||||
{
|
||||
$sql .= " AND \"name\" NOT IN('".implode("','", $excluded)."')";
|
||||
$sql .= " AND \"name\" NOT IN('" . implode("','", $excluded) . "')";
|
||||
}
|
||||
|
||||
$res = $this->getDriver()->query($sql);
|
||||
@ -46,9 +47,9 @@ class Util extends AbstractUtil {
|
||||
$outputSql = '';
|
||||
|
||||
// Get the data for each object
|
||||
foreach($result as $r)
|
||||
foreach ($result as $r)
|
||||
{
|
||||
$sql = 'SELECT * FROM "'.$r['name'].'"';
|
||||
$sql = 'SELECT * FROM "' . $r['name'] . '"';
|
||||
$res = $this->getDriver()->query($sql);
|
||||
$objRes = $res->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
@ -66,7 +67,7 @@ class Util extends AbstractUtil {
|
||||
$insertRows = [];
|
||||
|
||||
// Create the insert statements
|
||||
foreach($objRes as $row)
|
||||
foreach ($objRes as $row)
|
||||
{
|
||||
$row = array_values($row);
|
||||
|
||||
@ -78,7 +79,7 @@ class Util extends AbstractUtil {
|
||||
: $this->getDriver()->quote($row[$i]);
|
||||
}
|
||||
|
||||
$rowString = 'INSERT INTO "'.$r['name'].'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');';
|
||||
$rowString = 'INSERT INTO "' . $r['name'] . '" ("' . implode('","', $columns) . '") VALUES (' . implode(',', $row) . ');';
|
||||
|
||||
unset($row);
|
||||
|
||||
@ -87,7 +88,7 @@ class Util extends AbstractUtil {
|
||||
|
||||
unset($objRes);
|
||||
|
||||
$outputSql .= "\n\n".implode("\n", $insertRows);
|
||||
$outputSql .= "\n\n" . implode("\n", $insertRows);
|
||||
}
|
||||
|
||||
return $outputSql;
|
||||
@ -105,7 +106,7 @@ class Util extends AbstractUtil {
|
||||
|
||||
$sqlArray = [];
|
||||
|
||||
foreach($result as $r)
|
||||
foreach ($result as $r)
|
||||
{
|
||||
$sqlArray[] = $r['sql'];
|
||||
}
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Exception;
|
||||
|
||||
use InvalidArgumentException;
|
||||
@ -20,5 +21,6 @@ use InvalidArgumentException;
|
||||
/**
|
||||
* Generic exception for bad drivers
|
||||
*/
|
||||
class BadDBDriverException extends InvalidArgumentException {
|
||||
class BadDBDriverException extends InvalidArgumentException
|
||||
{
|
||||
}
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Exception;
|
||||
|
||||
use InvalidArgumentException;
|
||||
@ -20,5 +21,6 @@ use InvalidArgumentException;
|
||||
/**
|
||||
* Exception for missing database connection
|
||||
*/
|
||||
class NonExistentConnectionException extends InvalidArgumentException {
|
||||
class NonExistentConnectionException extends InvalidArgumentException
|
||||
{
|
||||
}
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query\Exception;
|
||||
|
||||
use BadMethodCallException;
|
||||
@ -20,5 +21,6 @@ use BadMethodCallException;
|
||||
/**
|
||||
* Exception for non-implemented method
|
||||
*/
|
||||
class NotImplementedException extends BadMethodCallException{
|
||||
class NotImplementedException extends BadMethodCallException
|
||||
{
|
||||
}
|
@ -13,19 +13,22 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
/**
|
||||
* Enum of join types
|
||||
*/
|
||||
enum JoinType: string {
|
||||
enum JoinType: string
|
||||
{
|
||||
case CROSS = 'cross';
|
||||
case INNER = 'inner';
|
||||
case OUTER = 'outer';
|
||||
case LEFT = 'left';
|
||||
case RIGHT = 'right';
|
||||
|
||||
public static function parse(string|self $val): self {
|
||||
public static function parse(string|self $val): self
|
||||
{
|
||||
if ($val instanceof self)
|
||||
{
|
||||
return $val;
|
||||
@ -34,4 +37,3 @@ enum JoinType: string {
|
||||
return self::from($val);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,17 +13,20 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
/**
|
||||
* 'Enum' of join types
|
||||
*/
|
||||
enum LikeType: string {
|
||||
enum LikeType: string
|
||||
{
|
||||
case BEFORE = 'before';
|
||||
case AFTER = 'after';
|
||||
case BOTH = 'both';
|
||||
|
||||
public static function parse(string|self $val): self {
|
||||
public static function parse(string|self $val): self
|
||||
{
|
||||
if ($val instanceof self)
|
||||
{
|
||||
return $val;
|
||||
|
@ -13,12 +13,14 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
/**
|
||||
* Enum of query map types
|
||||
*/
|
||||
enum MapType: string {
|
||||
enum MapType: string
|
||||
{
|
||||
case GROUP_END = 'group_end';
|
||||
case GROUP_START = 'group_start';
|
||||
case JOIN = 'join';
|
||||
|
@ -13,18 +13,20 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
use PDOStatement;
|
||||
use function is_array;
|
||||
use function is_int;
|
||||
use function mb_trim;
|
||||
|
||||
use PDOStatement;
|
||||
use function mb_trim;
|
||||
|
||||
/**
|
||||
* Convenience class for creating sql queries
|
||||
*/
|
||||
class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface
|
||||
{
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Select Queries
|
||||
// --------------------------------------------------------------------------
|
||||
@ -68,49 +70,45 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Selects the maximum value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectMax(string $field, $as=FALSE): self
|
||||
public function selectMax(string $field, bool|string $as=FALSE): self
|
||||
{
|
||||
// Create the select string
|
||||
$this->state->appendSelectString(' MAX'.$this->_select($field, $as));
|
||||
$this->state->appendSelectString(' MAX' . $this->_select($field, $as));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Selects the minimum value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectMin(string $field, $as=FALSE): self
|
||||
public function selectMin(string $field, bool|string $as=FALSE): self
|
||||
{
|
||||
// Create the select string
|
||||
$this->state->appendSelectString(' MIN'.$this->_select($field, $as));
|
||||
$this->state->appendSelectString(' MIN' . $this->_select($field, $as));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Selects the average value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectAvg(string $field, $as=FALSE): self
|
||||
public function selectAvg(string $field, bool|string $as=FALSE): self
|
||||
{
|
||||
// Create the select string
|
||||
$this->state->appendSelectString(' AVG'.$this->_select($field, $as));
|
||||
$this->state->appendSelectString(' AVG' . $this->_select($field, $as));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Selects the sum of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectSum(string $field, $as=FALSE): self
|
||||
public function selectSum(string $field, bool|string $as=FALSE): self
|
||||
{
|
||||
// Create the select string
|
||||
$this->state->appendSelectString(' SUM'.$this->_select($field, $as));
|
||||
$this->state->appendSelectString(' SUM' . $this->_select($field, $as));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -139,6 +137,7 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
{
|
||||
// Prepend the keyword to the select string
|
||||
$this->state->setSelectString(' DISTINCT' . $this->state->getSelectString());
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -148,6 +147,7 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
public function explain(): self
|
||||
{
|
||||
$this->explain = TRUE;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -155,8 +155,6 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
* Specify the database table to select from
|
||||
*
|
||||
* Alias of `from` method to better match CodeIgniter 4
|
||||
*
|
||||
* @param string $tableName
|
||||
*/
|
||||
public function table(string $tableName): self
|
||||
{
|
||||
@ -383,15 +381,15 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
$orderClauses = [];
|
||||
|
||||
// Flatten key/val pairs into an array of space-separated pairs
|
||||
foreach($this->state->getOrderArray() as $k => $v)
|
||||
foreach ($this->state->getOrderArray() as $k => $v)
|
||||
{
|
||||
$orderClauses[] = $k . ' ' . strtoupper($v);
|
||||
$orderClauses[] = $k . ' ' . strtoupper((string) $v);
|
||||
}
|
||||
|
||||
// Set the final string
|
||||
$orderString = isset($rand)
|
||||
? "\nORDER BY".$rand
|
||||
: "\nORDER BY ".implode(', ', $orderClauses);
|
||||
? "\nORDER BY" . $rand
|
||||
: "\nORDER BY " . implode(', ', $orderClauses);
|
||||
|
||||
$this->state->setOrderString($orderString);
|
||||
|
||||
@ -512,8 +510,9 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
*/
|
||||
public function countAll(string $table): int
|
||||
{
|
||||
$sql = 'SELECT * FROM '.$this->driver->quoteTable($table);
|
||||
$sql = 'SELECT * FROM ' . $this->driver->quoteTable($table);
|
||||
$res = $this->driver->query($sql);
|
||||
|
||||
return (int) (is_countable($res->fetchAll()) ? count($res->fetchAll()) : 0);
|
||||
}
|
||||
|
||||
@ -551,7 +550,7 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
/**
|
||||
* Creates and executes a batch insertion query
|
||||
*/
|
||||
public function insertBatch(string $table, $data=[]): ?PDOStatement
|
||||
public function insertBatch(string $table, mixed $data=[]): ?PDOStatement
|
||||
{
|
||||
// Get the generated values and sql string
|
||||
[$sql, $data] = $this->driver->insertBatch($table, $data);
|
||||
@ -589,6 +588,7 @@ class QueryBuilder extends QueryBuilderBase implements QueryBuilderInterface {
|
||||
[$sql, $data, $affectedRows] = $this->driver->updateBatch($table, $data, $where);
|
||||
|
||||
$this->_run(QueryType::UPDATE_BATCH, $table, $sql, $data);
|
||||
|
||||
return $affectedRows;
|
||||
}
|
||||
|
||||
|
@ -13,14 +13,17 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
namespace Query;
|
||||
|
||||
use function regexInArray;
|
||||
namespace Query;
|
||||
|
||||
use BadMethodCallException;
|
||||
use PDO;
|
||||
|
||||
use PDOStatement;
|
||||
use PHPUnit\Framework\Attributes\CodeCoverageIgnore;
|
||||
use Query\Drivers\DriverInterface;
|
||||
use function is_string;
|
||||
use function regexInArray;
|
||||
|
||||
/**
|
||||
* @method affectedRows(): int
|
||||
@ -56,8 +59,8 @@ use Query\Drivers\DriverInterface;
|
||||
* @method setTablePrefix(string $prefix): void
|
||||
* @method truncate(string $table): PDOStatement
|
||||
*/
|
||||
class QueryBuilderBase {
|
||||
|
||||
class QueryBuilderBase
|
||||
{
|
||||
/**
|
||||
* Convenience property for connection management
|
||||
*/
|
||||
@ -67,7 +70,7 @@ class QueryBuilderBase {
|
||||
* List of queries executed
|
||||
*/
|
||||
public array $queries = [
|
||||
'total_time' => 0
|
||||
'total_time' => 0,
|
||||
];
|
||||
|
||||
/**
|
||||
@ -88,19 +91,13 @@ class QueryBuilderBase {
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Methods
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct(protected ?DriverInterface $driver, protected QueryParser $parser)
|
||||
{
|
||||
// Create new State object
|
||||
$this->state = new State();
|
||||
}
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
public function __destruct()
|
||||
{
|
||||
$this->driver = NULL;
|
||||
@ -110,8 +107,8 @@ class QueryBuilderBase {
|
||||
* Calls a function further down the inheritance chain.
|
||||
* 'Implements' methods on the driver object
|
||||
*
|
||||
* @return mixed
|
||||
* @throws BadMethodCallException
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call(string $name, array $params)
|
||||
{
|
||||
@ -141,7 +138,7 @@ class QueryBuilderBase {
|
||||
// Escape the identifiers
|
||||
$field = $this->driver->quoteIdent($field);
|
||||
|
||||
if ( ! \is_string($as))
|
||||
if ( ! is_string($as))
|
||||
{
|
||||
// @codeCoverageIgnoreStart
|
||||
return $field;
|
||||
@ -149,6 +146,7 @@ class QueryBuilderBase {
|
||||
}
|
||||
|
||||
$as = $this->driver->quoteIdent($as);
|
||||
|
||||
return "({$field}) AS {$as} ";
|
||||
}
|
||||
|
||||
@ -224,7 +222,7 @@ class QueryBuilderBase {
|
||||
'conjunction' => empty($this->state->getHavingMap())
|
||||
? ' HAVING '
|
||||
: " {$conj} ",
|
||||
'string' => $item
|
||||
'string' => $item,
|
||||
]);
|
||||
}
|
||||
|
||||
@ -242,7 +240,8 @@ class QueryBuilderBase {
|
||||
if (is_scalar($key))
|
||||
{
|
||||
$pairs[$key] = $val;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
$pairs = $key;
|
||||
}
|
||||
@ -300,8 +299,6 @@ class QueryBuilderBase {
|
||||
/**
|
||||
* Simplify where_in methods
|
||||
*
|
||||
* @param mixed $key
|
||||
* @param mixed $val
|
||||
* @param string $in - The (not) in fragment
|
||||
* @param string $conj - The where in conjunction
|
||||
*/
|
||||
@ -321,10 +318,8 @@ class QueryBuilderBase {
|
||||
|
||||
/**
|
||||
* Executes the compiled query
|
||||
*
|
||||
* @param array|null $vals
|
||||
*/
|
||||
protected function _run(QueryType $type, string $table, string $sql = NULL, array $vals = NULL, bool $reset = TRUE): PDOStatement
|
||||
protected function _run(QueryType $type, string $table, ?string $sql = NULL, ?array $vals = NULL, bool $reset = TRUE): PDOStatement
|
||||
{
|
||||
if ($sql === NULL)
|
||||
{
|
||||
@ -346,7 +341,7 @@ class QueryBuilderBase {
|
||||
$totalTime = number_format($endTime - $startTime, 5);
|
||||
|
||||
// Add this query to the list of executed queries
|
||||
$this->_appendQuery($vals, $sql, (int)$totalTime);
|
||||
$this->_appendQuery($vals, $sql, (int) $totalTime);
|
||||
|
||||
// Reset class state for next query
|
||||
if ($reset)
|
||||
@ -368,9 +363,9 @@ class QueryBuilderBase {
|
||||
// Quote string values
|
||||
foreach ($evals as &$v)
|
||||
{
|
||||
$v = ( is_numeric($v))
|
||||
$v = (is_numeric($v))
|
||||
? $v
|
||||
: htmlentities($this->driver->quote($v), ENT_NOQUOTES, 'utf-8');
|
||||
: htmlentities((string) $this->driver->quote($v), ENT_NOQUOTES, 'utf-8');
|
||||
}
|
||||
unset($v);
|
||||
|
||||
@ -381,7 +376,7 @@ class QueryBuilderBase {
|
||||
// Add the interpreted query to the list of executed queries
|
||||
$this->queries[] = [
|
||||
'time' => $totalTime,
|
||||
'sql' => sprintf(...$evals)
|
||||
'sql' => sprintf(...$evals),
|
||||
];
|
||||
|
||||
$this->queries['total_time'] += $totalTime;
|
||||
@ -392,12 +387,12 @@ class QueryBuilderBase {
|
||||
|
||||
/**
|
||||
* Sub-method for generating sql strings
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
#[CodeCoverageIgnore]
|
||||
protected function _compileType(QueryType $type = QueryType::SELECT, string $table = ''): string
|
||||
{
|
||||
$setArrayKeys = $this->state->getSetArrayKeys();
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
case QueryType::INSERT:
|
||||
@ -454,7 +449,7 @@ class QueryBuilderBase {
|
||||
// Set each type of subclause
|
||||
foreach ($clauses as $clause)
|
||||
{
|
||||
$func = 'get' . ucFirst($clause);
|
||||
$func = 'get' . ucfirst($clause);
|
||||
$param = $this->state->$func();
|
||||
if (is_array($param))
|
||||
{
|
||||
@ -462,7 +457,8 @@ class QueryBuilderBase {
|
||||
{
|
||||
$sql .= $q['conjunction'] . $q['string'];
|
||||
}
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql .= $param;
|
||||
}
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
use PDO;
|
||||
@ -57,8 +58,8 @@ use PDOStatement;
|
||||
* @method setTablePrefix(string $prefix): void
|
||||
* @method truncate(string $table): PDOStatement
|
||||
*/
|
||||
interface QueryBuilderInterface {
|
||||
|
||||
interface QueryBuilderInterface
|
||||
{
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Select Queries
|
||||
// --------------------------------------------------------------------------
|
||||
@ -69,31 +70,23 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Selects the maximum value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectMax(string $field, $as=FALSE): self;
|
||||
public function selectMax(string $field, bool|string $as=FALSE): self;
|
||||
|
||||
/**
|
||||
* Selects the minimum value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectMin(string $field, $as=FALSE): self;
|
||||
public function selectMin(string $field, bool|string $as=FALSE): self;
|
||||
|
||||
/**
|
||||
* Selects the average value of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectAvg(string $field, $as=FALSE): self;
|
||||
public function selectAvg(string $field, bool|string $as=FALSE): self;
|
||||
|
||||
/**
|
||||
* Selects the sum of a field from a query
|
||||
*
|
||||
* @param string|bool $as
|
||||
*/
|
||||
public function selectSum(string $field, $as=FALSE): self;
|
||||
public function selectSum(string $field, bool|string $as=FALSE): self;
|
||||
|
||||
/**
|
||||
* Adds the 'distinct' keyword to a query
|
||||
@ -109,8 +102,6 @@ interface QueryBuilderInterface {
|
||||
* Specify the database table to select from
|
||||
*
|
||||
* Alias of `from` method to better match CodeIgniter 4
|
||||
*
|
||||
* @param string $tableName
|
||||
*/
|
||||
public function table(string $tableName): self;
|
||||
|
||||
@ -124,29 +115,21 @@ interface QueryBuilderInterface {
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Creates a Like clause in the sql statement
|
||||
*
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function like(string $field, mixed $values, LikeType|string $pos=LikeType::BOTH): self;
|
||||
|
||||
/**
|
||||
* Generates an OR Like clause
|
||||
*
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orLike(string $field, mixed $values, LikeType|string $pos=LikeType::BOTH): self;
|
||||
|
||||
/**
|
||||
* Generates a NOT LIKE clause
|
||||
*
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function notLike(string $field, mixed $values, LikeType|string $pos=LikeType::BOTH): self;
|
||||
|
||||
/**
|
||||
* Generates a OR NOT LIKE clause
|
||||
*
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orNotLike(string $field, mixed $values, LikeType|string $pos=LikeType::BOTH): self;
|
||||
|
||||
@ -155,17 +138,11 @@ interface QueryBuilderInterface {
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Generates a 'Having' clause
|
||||
*
|
||||
* @param mixed $key
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function having(mixed $key, mixed $values=[]): self;
|
||||
|
||||
/**
|
||||
* Generates a 'Having' clause prefixed with 'OR'
|
||||
*
|
||||
* @param mixed $key
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orHaving(mixed $key, mixed $values=[]): self;
|
||||
|
||||
@ -176,9 +153,6 @@ interface QueryBuilderInterface {
|
||||
* Specify condition(s) in the where clause of a query
|
||||
* Note: this function works with key / value, or a
|
||||
* passed array with key / value pairs
|
||||
*
|
||||
* @param mixed $key
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function where(mixed $key, mixed $values=[]): self;
|
||||
|
||||
@ -186,39 +160,26 @@ interface QueryBuilderInterface {
|
||||
* Where clause prefixed with "OR"
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orWhere(mixed $key, mixed $values=[]): self;
|
||||
|
||||
/**
|
||||
* Where clause with 'IN' statement
|
||||
*
|
||||
* @param string $field
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function whereIn(string $field, mixed $values=[]): self;
|
||||
|
||||
/**
|
||||
* Where in statement prefixed with "or"
|
||||
*
|
||||
* @param string $field
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orWhereIn(string $field, mixed $values=[]): self;
|
||||
|
||||
/**
|
||||
* WHERE NOT IN (FOO) clause
|
||||
*
|
||||
* @param string $field
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function whereNotIn(string $field, mixed $values=[]): self;
|
||||
|
||||
/**
|
||||
* OR WHERE NOT IN (FOO) clause
|
||||
*
|
||||
* @param string $field
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function orWhereNotIn(string $field, mixed $values=[]): self;
|
||||
|
||||
@ -227,9 +188,6 @@ interface QueryBuilderInterface {
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Sets values for inserts / updates / deletes
|
||||
*
|
||||
* @param mixed $key
|
||||
* @param mixed $values
|
||||
*/
|
||||
public function set(mixed $key, mixed $values = NULL): self;
|
||||
|
||||
@ -240,8 +198,6 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Group the results by the selected field(s)
|
||||
*
|
||||
* @param mixed $field
|
||||
*/
|
||||
public function groupBy(mixed $field): self;
|
||||
|
||||
@ -297,8 +253,6 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Convenience method for get() with a where clause
|
||||
*
|
||||
* @param array $where
|
||||
*/
|
||||
public function getWhere(string $table, array $where=[], ?int $limit=NULL, ?int $offset=NULL): PDOStatement;
|
||||
|
||||
@ -317,8 +271,6 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Creates an insert clause, and executes it
|
||||
*
|
||||
* @param mixed $data
|
||||
*/
|
||||
public function insert(string $table, mixed $data=[]): PDOStatement;
|
||||
|
||||
@ -331,8 +283,6 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Creates an update clause, and executes it
|
||||
*
|
||||
* @param mixed $data
|
||||
*/
|
||||
public function update(string $table, mixed $data=[]): PDOStatement;
|
||||
|
||||
@ -348,8 +298,6 @@ interface QueryBuilderInterface {
|
||||
|
||||
/**
|
||||
* Deletes data from a table
|
||||
*
|
||||
* @param mixed $where
|
||||
*/
|
||||
public function delete(string $table, mixed $where=''): PDOStatement;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
use Query\Drivers\DriverInterface;
|
||||
@ -20,17 +21,8 @@ use Query\Drivers\DriverInterface;
|
||||
/**
|
||||
* Utility Class to parse sql clauses for properly escaping identifiers
|
||||
*/
|
||||
class QueryParser {
|
||||
|
||||
/**
|
||||
* Regex patterns for various syntax components
|
||||
*/
|
||||
private array $matchPatterns = [
|
||||
'function' => '([a-zA-Z0-9_]+\((.*?)\))',
|
||||
'identifier' => '([a-zA-Z0-9_-]+\.?)+',
|
||||
'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR'
|
||||
];
|
||||
|
||||
class QueryParser
|
||||
{
|
||||
/**
|
||||
* Regex matches
|
||||
*/
|
||||
@ -41,6 +33,15 @@ class QueryParser {
|
||||
'combined' => [],
|
||||
];
|
||||
|
||||
/**
|
||||
* Regex patterns for various syntax components
|
||||
*/
|
||||
private array $matchPatterns = [
|
||||
'function' => '([a-zA-Z0-9_]+\((.*?)\))',
|
||||
'identifier' => '([a-zA-Z0-9_-]+\.?)+',
|
||||
'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR',
|
||||
];
|
||||
|
||||
/**
|
||||
* Constructor/entry point into parser
|
||||
*/
|
||||
@ -56,16 +57,16 @@ class QueryParser {
|
||||
public function parseJoin(string $sql): array
|
||||
{
|
||||
// Get sql clause components
|
||||
preg_match_all('`'.$this->matchPatterns['function'].'`', $sql, $this->matches['functions'], PREG_SET_ORDER);
|
||||
preg_match_all('`'.$this->matchPatterns['identifier'].'`', $sql, $this->matches['identifiers'], PREG_SET_ORDER);
|
||||
preg_match_all('`'.$this->matchPatterns['operator'].'`', $sql, $this->matches['operators'], PREG_SET_ORDER);
|
||||
preg_match_all('`' . $this->matchPatterns['function'] . '`', $sql, $this->matches['functions'], PREG_SET_ORDER);
|
||||
preg_match_all('`' . $this->matchPatterns['identifier'] . '`', $sql, $this->matches['identifiers'], PREG_SET_ORDER);
|
||||
preg_match_all('`' . $this->matchPatterns['operator'] . '`', $sql, $this->matches['operators'], PREG_SET_ORDER);
|
||||
|
||||
// Get everything at once for ordering
|
||||
$fullPattern = '`'.$this->matchPatterns['function'].'+|'.$this->matchPatterns['identifier'].'|('.$this->matchPatterns['operator'].')+`i';
|
||||
$fullPattern = '`' . $this->matchPatterns['function'] . '+|' . $this->matchPatterns['identifier'] . '|(' . $this->matchPatterns['operator'] . ')+`i';
|
||||
preg_match_all($fullPattern, $sql, $this->matches['combined'], PREG_SET_ORDER);
|
||||
|
||||
// Go through the matches, and get the most relevant matches
|
||||
$this->matches = array_map([$this, 'filterArray'], $this->matches);
|
||||
$this->matches = array_map($this->filterArray(...), $this->matches);
|
||||
|
||||
return $this->matches;
|
||||
}
|
||||
@ -79,9 +80,9 @@ class QueryParser {
|
||||
$count = is_countable($parts['identifiers']) ? count($parts['identifiers']) : 0;
|
||||
|
||||
// Go through and quote the identifiers
|
||||
for($i=0; $i <= $count; $i++)
|
||||
for ($i=0; $i <= $count; $i++)
|
||||
{
|
||||
if (in_array($parts['combined'][$i], $parts['identifiers']) && ! is_numeric($parts['combined'][$i]))
|
||||
if (in_array($parts['combined'][$i], $parts['identifiers'], TRUE) && ! is_numeric($parts['combined'][$i]))
|
||||
{
|
||||
$parts['combined'][$i] = $this->db->quoteIdent($parts['combined'][$i]);
|
||||
}
|
||||
@ -92,14 +93,12 @@ class QueryParser {
|
||||
|
||||
/**
|
||||
* Returns a more useful match array
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function filterArray(array $array): array
|
||||
{
|
||||
$newArray = [];
|
||||
|
||||
foreach($array as $row)
|
||||
foreach ($array as $row)
|
||||
{
|
||||
$newArray[] = (is_array($row)) ? $row[0] : $row;
|
||||
}
|
||||
|
@ -13,12 +13,14 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
/**
|
||||
* Enum of query types
|
||||
*/
|
||||
enum QueryType: string {
|
||||
enum QueryType: string
|
||||
{
|
||||
case SELECT = 'select';
|
||||
case INSERT = 'insert';
|
||||
case INSERT_BATCH = 'insert_batch';
|
||||
|
@ -13,6 +13,7 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
|
||||
namespace Query;
|
||||
|
||||
use function is_array;
|
||||
@ -20,32 +21,33 @@ use function is_array;
|
||||
/**
|
||||
* Query builder state
|
||||
*
|
||||
* @method getSelectString(): string
|
||||
* @method getFromString(): string
|
||||
* @method getSetString(): string
|
||||
* @method getOrderString(): string
|
||||
* @method getGroupString(): string
|
||||
* @method getSetArrayKeys(): array
|
||||
* @method getOrderArray(): array
|
||||
* @method getGroupArray(): array
|
||||
* @method getValues(): array
|
||||
* @method getWhereValues(): array
|
||||
* @method getGroupString(): string
|
||||
* @method getHavingMap(): array
|
||||
* @method getLimit(): int|null
|
||||
* @method getOffset()
|
||||
* @method getOrderArray(): array
|
||||
* @method getOrderString(): string
|
||||
* @method getQueryMap(): array
|
||||
* @method getHavingMap(): array
|
||||
* @method getSelectString(): string
|
||||
* @method getSetArrayKeys(): array
|
||||
* @method getSetString(): string
|
||||
* @method getValues(): array
|
||||
* @method getWhereValues(): array
|
||||
*
|
||||
* @method setSelectString(string $selectString): self
|
||||
* @method setFromString(string $fromString): self
|
||||
* @method setSetString(string $setString): self
|
||||
* @method setOrderString(string $orderString): self
|
||||
* @method setGroupString(string $groupString): self
|
||||
* @method setSetArrayKeys(array $arrayKeys): self
|
||||
* @method setGroupArray(array $array): self
|
||||
* @method setGroupString(string $groupString): self
|
||||
* @method setLimit(int $limit): self
|
||||
* @method setOffset(?int $offset): self
|
||||
* @method setOrderString(string $orderString): self
|
||||
* @method setSelectString(string $selectString): self
|
||||
* @method setSetArrayKeys(array $arrayKeys): self
|
||||
* @method setSetString(string $setString): self
|
||||
*/
|
||||
class State {
|
||||
class State
|
||||
{
|
||||
// --------------------------------------------------------------------------
|
||||
// ! SQL Clause Strings
|
||||
// --------------------------------------------------------------------------
|
||||
@ -150,6 +152,7 @@ class State {
|
||||
if (isset($this->$maybeProp))
|
||||
{
|
||||
$this->$maybeProp = $arguments[0];
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@ -160,30 +163,35 @@ class State {
|
||||
public function appendSelectString(string $str): self
|
||||
{
|
||||
$this->selectString .= $str;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function appendSetArrayKeys(array $setArrayKeys): self
|
||||
{
|
||||
$this->setArrayKeys = array_merge($this->setArrayKeys, $setArrayKeys);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setOrderArray(string $key, mixed $orderArray): self
|
||||
{
|
||||
$this->orderArray[$key] = $orderArray;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function appendGroupArray(string $groupArray): self
|
||||
{
|
||||
$this->groupArray[] = $groupArray;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function appendValues(array $values): self
|
||||
{
|
||||
$this->values = array_merge($this->values, $values);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -191,7 +199,7 @@ class State {
|
||||
{
|
||||
if (is_array($val))
|
||||
{
|
||||
foreach($val as $v)
|
||||
foreach ($val as $v)
|
||||
{
|
||||
$this->whereValues[] = $v;
|
||||
}
|
||||
@ -200,6 +208,7 @@ class State {
|
||||
}
|
||||
|
||||
$this->whereValues[] = $val;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -211,14 +220,16 @@ class State {
|
||||
$this->queryMap[] = [
|
||||
'type' => $type,
|
||||
'conjunction' => $conjunction,
|
||||
'string' => $string
|
||||
'string' => $string,
|
||||
];
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function appendHavingMap(array $item): self
|
||||
{
|
||||
$this->havingMap[] = $item;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@ -13,112 +13,109 @@
|
||||
* @link https://git.timshomepage.net/aviat/Query
|
||||
* @version 4.0.0
|
||||
*/
|
||||
namespace {
|
||||
|
||||
use Query\ConnectionManager;
|
||||
use Query\QueryBuilderInterface;
|
||||
use Query\{ConnectionManager, QueryBuilderInterface};
|
||||
|
||||
/**
|
||||
* Global functions that don't really fit anywhere else
|
||||
*/
|
||||
/**
|
||||
* Multibyte-safe trim function
|
||||
*/
|
||||
function mb_trim(string $string): string
|
||||
/**
|
||||
* Global functions that don't really fit anywhere else
|
||||
*/
|
||||
/**
|
||||
* Multibyte-safe trim function
|
||||
*/
|
||||
function mb_trim(string $string): string
|
||||
{
|
||||
return preg_replace('/(^\s+)|(\s+$)/u', '', $string);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter out db rows into one array
|
||||
*/
|
||||
function dbFilter(array $array, mixed $index): array
|
||||
{
|
||||
$newArray = [];
|
||||
|
||||
foreach ($array as $a)
|
||||
{
|
||||
return preg_replace('/(^\s+)|(\s+$)/u', '', $string);
|
||||
$newArray[] = $a[$index];
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter out db rows into one array
|
||||
*/
|
||||
function dbFilter(array $array, mixed $index): array
|
||||
return $newArray;
|
||||
}
|
||||
|
||||
/**
|
||||
* Zip a set of arrays together on common keys
|
||||
*
|
||||
* The $zipperInput array is an array of arrays indexed by their place in the output
|
||||
* array.
|
||||
*/
|
||||
function arrayZipper(array $zipperInput): array
|
||||
{
|
||||
$output = [];
|
||||
|
||||
foreach ($zipperInput as $appendKey => $values)
|
||||
{
|
||||
$newArray = [];
|
||||
|
||||
foreach ($array as $a)
|
||||
foreach ($values as $index => $value)
|
||||
{
|
||||
$newArray[] = $a[$index];
|
||||
}
|
||||
|
||||
return $newArray;
|
||||
}
|
||||
|
||||
/**
|
||||
* Zip a set of arrays together on common keys
|
||||
*
|
||||
* The $zipperInput array is an array of arrays indexed by their place in the output
|
||||
* array.
|
||||
*/
|
||||
function arrayZipper(array $zipperInput): array
|
||||
{
|
||||
$output = [];
|
||||
|
||||
foreach ($zipperInput as $appendKey => $values)
|
||||
{
|
||||
foreach ($values as $index => $value)
|
||||
if ( ! isset($output[$index]))
|
||||
{
|
||||
if ( ! isset($output[$index]))
|
||||
{
|
||||
$output[$index] = [];
|
||||
}
|
||||
$output[$index][$appendKey] = $value;
|
||||
$output[$index] = [];
|
||||
}
|
||||
$output[$index][$appendKey] = $value;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether a value in the passed array matches the pattern
|
||||
* passed
|
||||
*/
|
||||
function regexInArray(array $array, string $pattern): bool
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether a value in the passed array matches the pattern
|
||||
* passed
|
||||
*/
|
||||
function regexInArray(array $array, string $pattern): bool
|
||||
{
|
||||
if (empty($array))
|
||||
{
|
||||
if (empty($array))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
foreach ($array as $item)
|
||||
{
|
||||
if (is_scalar($item) && preg_match($pattern, (string) $item))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection function
|
||||
*
|
||||
* Send an array or object as connection parameters to create a connection. If
|
||||
* the array or object has an 'alias' parameter, passing that string to this
|
||||
* function will return that connection. Passing no parameters returns the last
|
||||
* connection created.
|
||||
*/
|
||||
function Query(string|object|array|null $params = ''): ?QueryBuilderInterface
|
||||
|
||||
foreach ($array as $item)
|
||||
{
|
||||
if ($params === NULL)
|
||||
if (is_scalar($item) && preg_match($pattern, (string) $item))
|
||||
{
|
||||
return NULL;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
$manager = ConnectionManager::getInstance();
|
||||
|
||||
// If you are getting a previously created connection
|
||||
if (is_string($params))
|
||||
{
|
||||
return $manager->getConnection($params);
|
||||
}
|
||||
|
||||
$paramsObject = (object)$params;
|
||||
|
||||
// Otherwise, return a new connection
|
||||
return $manager->connect($paramsObject);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection function
|
||||
*
|
||||
* Send an array or object as connection parameters to create a connection. If
|
||||
* the array or object has an 'alias' parameter, passing that string to this
|
||||
* function will return that connection. Passing no parameters returns the last
|
||||
* connection created.
|
||||
*/
|
||||
function Query(string|object|array|null $params = ''): ?QueryBuilderInterface
|
||||
{
|
||||
if ($params === NULL)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
$manager = ConnectionManager::getInstance();
|
||||
|
||||
// If you are getting a previously created connection
|
||||
if (is_string($params))
|
||||
{
|
||||
return $manager->getConnection($params);
|
||||
}
|
||||
|
||||
$paramsObject = (object) $params;
|
||||
|
||||
// Otherwise, return a new connection
|
||||
return $manager->connect($paramsObject);
|
||||
}
|
||||
|
||||
// End of common.php
|
||||
|
@ -31,23 +31,23 @@ class Query\\Exception\\NotImplementedException--><g id="elem_Query\\Exception\\
|
||||
class PDO--><g id="elem_PDO"><rect fill="#F1F1F1" height="32" id="PDO" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="63" x="82" y="242"/><ellipse cx="97" cy="258" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M99.9688,263.6406 Q99.3906,263.9375 98.75,264.0781 Q98.1094,264.2344 97.4063,264.2344 Q94.9063,264.2344 93.5781,262.5938 Q92.2656,260.9375 92.2656,257.8125 Q92.2656,254.6875 93.5781,253.0313 Q94.9063,251.375 97.4063,251.375 Q98.1094,251.375 98.75,251.5313 Q99.4063,251.6875 99.9688,251.9844 L99.9688,254.7031 Q99.3438,254.125 98.75,253.8594 Q98.1563,253.5781 97.5313,253.5781 Q96.1875,253.5781 95.5,254.6563 Q94.8125,255.7188 94.8125,257.8125 Q94.8125,259.9063 95.5,260.9844 Q96.1875,262.0469 97.5313,262.0469 Q98.1563,262.0469 98.75,261.7813 Q99.3438,261.5 99.9688,260.9219 L99.9688,263.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31" x="111" y="262.8467">PDO</text></g><!--MD5=[7f485c53cd78fe9f61f586b8b1ced5de]
|
||||
class InvalidArgumentException--><g id="elem_InvalidArgumentException"><rect fill="#F1F1F1" height="32" id="InvalidArgumentException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="210" x="8.5" y="75"/><ellipse cx="23.5" cy="91" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M26.4688,96.6406 Q25.8906,96.9375 25.25,97.0781 Q24.6094,97.2344 23.9063,97.2344 Q21.4063,97.2344 20.0781,95.5938 Q18.7656,93.9375 18.7656,90.8125 Q18.7656,87.6875 20.0781,86.0313 Q21.4063,84.375 23.9063,84.375 Q24.6094,84.375 25.25,84.5313 Q25.9063,84.6875 26.4688,84.9844 L26.4688,87.7031 Q25.8438,87.125 25.25,86.8594 Q24.6563,86.5781 24.0313,86.5781 Q22.6875,86.5781 22,87.6563 Q21.3125,88.7188 21.3125,90.8125 Q21.3125,92.9063 22,93.9844 Q22.6875,95.0469 24.0313,95.0469 Q24.6563,95.0469 25.25,94.7813 Q25.8438,94.5 26.4688,93.9219 L26.4688,96.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="178" x="37.5" y="95.8467">InvalidArgumentException</text></g><!--MD5=[ea69cc5aed4dc3de199ca62e306193e3]
|
||||
class BadMethodCallException--><g id="elem_BadMethodCallException"><rect fill="#F1F1F1" height="32" id="BadMethodCallException" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="204" x="11.5" y="175"/><ellipse cx="26.5" cy="191" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M29.4688,196.6406 Q28.8906,196.9375 28.25,197.0781 Q27.6094,197.2344 26.9063,197.2344 Q24.4063,197.2344 23.0781,195.5938 Q21.7656,193.9375 21.7656,190.8125 Q21.7656,187.6875 23.0781,186.0313 Q24.4063,184.375 26.9063,184.375 Q27.6094,184.375 28.25,184.5313 Q28.9063,184.6875 29.4688,184.9844 L29.4688,187.7031 Q28.8438,187.125 28.25,186.8594 Q27.6563,186.5781 27.0313,186.5781 Q25.6875,186.5781 25,187.6563 Q24.3125,188.7188 24.3125,190.8125 Q24.3125,192.9063 25,193.9844 Q25.6875,195.0469 27.0313,195.0469 Q27.6563,195.0469 28.25,194.7813 Q28.8438,194.5 29.4688,193.9219 L29.4688,196.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="172" x="40.5" y="195.8467">BadMethodCallException</text></g><!--MD5=[2578b6d29c08d2a827a9f52bdc5c3fb1]
|
||||
reverse link Query\\QueryBuilderBase to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderBase_Query\\QueryBuilder"><path d="M211.54,851 C211.54,851 364.5,851 364.5,851 C364.5,851 364.5,859.51 364.5,867.89 " fill="none" id="Query\\QueryBuilderBase-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="211.54,858,191.54,851,211.54,844,211.54,858" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1e56114406db9fadc6c466c6358096d1]
|
||||
reverse link Query\\QueryBuilderInterface to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderInterface_Query\\QueryBuilder"><path d="M195.5,885.78 C195.5,885.78 195.5,884 195.5,884 C195.5,884 285.96,884 349.39,884 " fill="none" id="Query\\QueryBuilderInterface-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="202.5,881.8,195.5,901.8,188.5,881.8,202.5,881.8" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1a05dcadb76851c4c8142dc6d05ed330]
|
||||
reverse link PDO to Query\\Drivers\\AbstractDriver--><g id="link_PDO_Query\\Drivers\\AbstractDriver"><path d="M165,262 C165,262 410.5,262 410.5,262 C410.5,262 410.5,301.49 410.5,324.63 " fill="none" id="PDO-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="165,269,145,262,165,255,165,269" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[86259ad3fa7799d988c0dd828545a105]
|
||||
reverse link Query\\Drivers\\DriverInterface to Query\\Drivers\\AbstractDriver--><g id="link_Query\\Drivers\\DriverInterface_Query\\Drivers\\AbstractDriver"><path d="M200.78,341 C200.78,341 344.77,341 344.77,341 " fill="none" id="Query\\Drivers\\DriverInterface-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="200.78,348,180.78,341,200.78,334,200.78,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e9b2e47fb217d9343f107986c71418bc]
|
||||
reverse link Query\\Drivers\\SQLInterface to Query\\Drivers\\AbstractSQL--><g id="link_Query\\Drivers\\SQLInterface_Query\\Drivers\\AbstractSQL"><path d="M194.22,408 C194.22,408 351.39,408 351.39,408 " fill="none" id="Query\\Drivers\\SQLInterface-backto-Query\\Drivers\\AbstractSQL" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="194.22,415,174.22,408,194.22,401,194.22,415" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[ad3142ac31afdf5821005c39b3456876]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Mysql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Mysql\\Driver"><path d="M495.34,333 C495.34,333 529.5,333 529.5,333 C529.5,333 529.5,179 529.5,179 C529.5,179 594.5,179 637.16,179 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Mysql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.34,340,475.34,333,495.34,326,495.34,340" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5c80d6b98d3637b6870e4741dd3451a9]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Mysql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Mysql\\SQL"><path d="M488.68,402.67 C488.68,402.67 503.5,402.67 503.5,402.67 C503.5,402.67 503.5,246 503.5,246 C503.5,246 595.18,246 643.89,246 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Mysql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="488.68,409.67,468.68,402.67,488.68,395.67,488.68,409.67" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5ff8a6954bb7516206f0fabdb0afae12]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Mysql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Mysql\\Util"><path d="M188.57,467 C188.57,467 589.5,467 589.5,467 C589.5,467 589.5,112 589.5,112 C589.5,112 622.31,112 646.92,112 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Mysql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.57,474,168.57,467,188.57,460,188.57,474" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[9e6ded727bb3ead8c2be99fb28852e3c]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Pgsql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Pgsql\\Driver"><path d="M488.08,349 C488.08,349 489.5,349 489.5,349 C489.5,349 489.5,582 489.5,582 C489.5,582 583.52,582 637.15,582 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Pgsql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.29,356,475.29,349,495.29,342,495.29,356" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[16f07cacf9eba8915b7605285198c4f4]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Pgsql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Pgsql\\SQL"><path d="M456.5,444.19 C456.5,444.19 456.5,649 456.5,649 C456.5,649 584.35,649 643.78,649 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Pgsql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="449.5,444.19,456.5,424.19,463.5,444.19,449.5,444.19" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[162c76ca8353f5a587f9ebee1bc340e9]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Pgsql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Pgsql\\Util"><path d="M188.31,483 C188.31,483 190.5,483 190.5,483 C190.5,483 190.5,716.5 190.5,716.5 C190.5,716.5 545.59,716.5 646.84,716.5 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Pgsql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.64,490,168.64,483,188.64,476,188.64,490" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e8ecef929d91aa0fecc8f41d9ec98a5a]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Sqlite\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Sqlite\\Driver"><path d="M495.13,341 C495.13,341 637.45,341 637.45,341 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Sqlite\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="495.13,348,475.13,341,495.13,334,495.13,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[bbc327f9f3ee3f23240b286657f4a619]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Sqlite\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Sqlite\\SQL"><path d="M488.81,413.33 C488.81,413.33 643.82,413.33 643.82,413.33 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Sqlite\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="488.81,420.33,468.81,413.33,488.81,406.33,488.81,420.33" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[4509582e18a7c073b5fa75bd70a8eb42]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Sqlite\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Sqlite\\Util"><path d="M188.73,475 C188.73,475 646.73,475 646.73,475 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Sqlite\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="188.73,482,168.73,475,188.73,468,188.73,482" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[3db2d85023ec15f024341e87495c69e2]
|
||||
reverse link InvalidArgumentException to Query\\Exception\\BadDBDriverException--><g id="link_InvalidArgumentException_Query\\Exception\\BadDBDriverException"><path d="M238.63,79.5 C238.63,79.5 410.5,79.5 410.5,79.5 C410.5,79.5 410.5,76.84 410.5,73.35 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\BadDBDriverException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="238.63,86.5,218.63,79.5,238.63,72.5,238.63,86.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[f2e8fdbcfd2eeaf5dfb7a0dfd0cf4020]
|
||||
reverse link InvalidArgumentException to Query\\Exception\\NonExistentConnectionException--><g id="link_InvalidArgumentException_Query\\Exception\\NonExistentConnectionException"><path d="M238.67,95.5 C238.67,95.5 297.5,95.5 297.5,95.5 C297.5,95.5 297.5,101.35 297.5,107.75 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\NonExistentConnectionException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="238.67,102.5,218.67,95.5,238.67,88.5,238.67,102.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[50e2b656898199a516f6a243815630ed]
|
||||
reverse link BadMethodCallException to Query\\Exception\\NotImplementedException--><g id="link_BadMethodCallException_Query\\Exception\\NotImplementedException"><path d="M235.54,191 C235.54,191 302.47,191 302.47,191 " fill="none" id="BadMethodCallException-backto-Query\\Exception\\NotImplementedException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="235.54,198,215.54,191,235.54,184,235.54,198" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[2facdd1b4a99133d7874a4bed3e692ce]
|
||||
reverse link Query\\QueryBuilderBase to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderBase_Query\\QueryBuilder"><path d="M213.4,851 C213.4,851 364.5,851 364.5,851 C364.5,851 364.5,859.25 364.5,867.5 " fill="none" id="Query\\QueryBuilderBase-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="213.4,858,193.4,851,213.4,844,213.4,858" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1e56114406db9fadc6c466c6358096d1]
|
||||
reverse link Query\\QueryBuilderInterface to Query\\QueryBuilder--><g id="link_Query\\QueryBuilderInterface_Query\\QueryBuilder"><path d="M195.5,885.78 C195.5,885.78 195.5,884 195.5,884 C195.5,884 285.69,884 349.11,884 " fill="none" id="Query\\QueryBuilderInterface-backto-Query\\QueryBuilder" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="202.5,880.28,195.5,900.28,188.5,880.28,202.5,880.28" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[1a05dcadb76851c4c8142dc6d05ed330]
|
||||
reverse link PDO to Query\\Drivers\\AbstractDriver--><g id="link_PDO_Query\\Drivers\\AbstractDriver"><path d="M166.8,262 C166.8,262 410.5,262 410.5,262 C410.5,262 410.5,301.49 410.5,324.63 " fill="none" id="PDO-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="166.8,269,146.8,262,166.8,255,166.8,269" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[86259ad3fa7799d988c0dd828545a105]
|
||||
reverse link Query\\Drivers\\DriverInterface to Query\\Drivers\\AbstractDriver--><g id="link_Query\\Drivers\\DriverInterface_Query\\Drivers\\AbstractDriver"><path d="M202.29,341 C202.29,341 344.52,341 344.52,341 " fill="none" id="Query\\Drivers\\DriverInterface-backto-Query\\Drivers\\AbstractDriver" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="202.29,348,182.29,341,202.29,334,202.29,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e9b2e47fb217d9343f107986c71418bc]
|
||||
reverse link Query\\Drivers\\SQLInterface to Query\\Drivers\\AbstractSQL--><g id="link_Query\\Drivers\\SQLInterface_Query\\Drivers\\AbstractSQL"><path d="M195.73,408 C195.73,408 351.13,408 351.13,408 " fill="none" id="Query\\Drivers\\SQLInterface-backto-Query\\Drivers\\AbstractSQL" style="stroke:#516F42;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="195.73,415,175.73,408,195.73,401,195.73,415" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[ad3142ac31afdf5821005c39b3456876]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Mysql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Mysql\\Driver"><path d="M496.86,333 C496.86,333 529.5,333 529.5,333 C529.5,333 529.5,179 529.5,179 C529.5,179 594.5,179 637.16,179 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Mysql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="496.86,340,476.86,333,496.86,326,496.86,340" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5c80d6b98d3637b6870e4741dd3451a9]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Mysql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Mysql\\SQL"><path d="M490.46,402.67 C490.46,402.67 503.5,402.67 503.5,402.67 C503.5,402.67 503.5,246 503.5,246 C503.5,246 595.18,246 643.89,246 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Mysql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="490.46,409.67,470.46,402.67,490.46,395.67,490.46,409.67" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[5ff8a6954bb7516206f0fabdb0afae12]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Mysql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Mysql\\Util"><path d="M190.08,467 C190.08,467 589.5,467 589.5,467 C589.5,467 589.5,112 589.5,112 C589.5,112 622.31,112 646.92,112 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Mysql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="190.08,474,170.08,467,190.08,460,190.08,474" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[9e6ded727bb3ead8c2be99fb28852e3c]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Pgsql\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Pgsql\\Driver"><path d="M488.08,349 C488.08,349 489.5,349 489.5,349 C489.5,349 489.5,582 489.5,582 C489.5,582 583.52,582 637.15,582 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Pgsql\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="496.8,356,476.8,349,496.8,342,496.8,356" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[16f07cacf9eba8915b7605285198c4f4]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Pgsql\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Pgsql\\SQL"><path d="M456.5,445.7 C456.5,445.7 456.5,649 456.5,649 C456.5,649 584.35,649 643.78,649 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Pgsql\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="449.5,445.7,456.5,425.7,463.5,445.7,449.5,445.7" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[162c76ca8353f5a587f9ebee1bc340e9]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Pgsql\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Pgsql\\Util"><path d="M188.31,483 C188.31,483 190.5,483 190.5,483 C190.5,483 190.5,716.5 190.5,716.5 C190.5,716.5 545.59,716.5 646.84,716.5 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Pgsql\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="190.15,490,170.15,483,190.15,476,190.15,490" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[e8ecef929d91aa0fecc8f41d9ec98a5a]
|
||||
reverse link Query\\Drivers\\AbstractDriver to Query\\Drivers\\Sqlite\\Driver--><g id="link_Query\\Drivers\\AbstractDriver_Query\\Drivers\\Sqlite\\Driver"><path d="M496.99,341 C496.99,341 637.17,341 637.17,341 " fill="none" id="Query\\Drivers\\AbstractDriver-backto-Query\\Drivers\\Sqlite\\Driver" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="496.99,348,476.99,341,496.99,334,496.99,348" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[bbc327f9f3ee3f23240b286657f4a619]
|
||||
reverse link Query\\Drivers\\AbstractSQL to Query\\Drivers\\Sqlite\\SQL--><g id="link_Query\\Drivers\\AbstractSQL_Query\\Drivers\\Sqlite\\SQL"><path d="M490.32,413.33 C490.32,413.33 643.82,413.33 643.82,413.33 " fill="none" id="Query\\Drivers\\AbstractSQL-backto-Query\\Drivers\\Sqlite\\SQL" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="490.32,420.33,470.32,413.33,490.32,406.33,490.32,420.33" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[4509582e18a7c073b5fa75bd70a8eb42]
|
||||
reverse link Query\\Drivers\\AbstractUtil to Query\\Drivers\\Sqlite\\Util--><g id="link_Query\\Drivers\\AbstractUtil_Query\\Drivers\\Sqlite\\Util"><path d="M190.5,475 C190.5,475 646.77,475 646.77,475 " fill="none" id="Query\\Drivers\\AbstractUtil-backto-Query\\Drivers\\Sqlite\\Util" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="190.5,482,170.5,475,190.5,468,190.5,482" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[3db2d85023ec15f024341e87495c69e2]
|
||||
reverse link InvalidArgumentException to Query\\Exception\\BadDBDriverException--><g id="link_InvalidArgumentException_Query\\Exception\\BadDBDriverException"><path d="M240.14,79.5 C240.14,79.5 410.5,79.5 410.5,79.5 C410.5,79.5 410.5,76.84 410.5,73.35 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\BadDBDriverException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="240.14,86.5,220.14,79.5,240.14,72.5,240.14,86.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[f2e8fdbcfd2eeaf5dfb7a0dfd0cf4020]
|
||||
reverse link InvalidArgumentException to Query\\Exception\\NonExistentConnectionException--><g id="link_InvalidArgumentException_Query\\Exception\\NonExistentConnectionException"><path d="M240.45,95.5 C240.45,95.5 297.5,95.5 297.5,95.5 C297.5,95.5 297.5,101.35 297.5,107.75 " fill="none" id="InvalidArgumentException-backto-Query\\Exception\\NonExistentConnectionException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="240.45,102.5,220.45,95.5,240.45,88.5,240.45,102.5" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[50e2b656898199a516f6a243815630ed]
|
||||
reverse link BadMethodCallException to Query\\Exception\\NotImplementedException--><g id="link_BadMethodCallException_Query\\Exception\\NotImplementedException"><path d="M237.47,191 C237.47,191 302.24,191 302.24,191 " fill="none" id="BadMethodCallException-backto-Query\\Exception\\NotImplementedException" style="stroke:#516F42;stroke-width:1.0;"/><polygon fill="none" points="237.47,198,217.47,191,237.47,184,237.47,198" style="stroke:#516F42;stroke-width:1.0;"/></g><!--MD5=[2facdd1b4a99133d7874a4bed3e692ce]
|
||||
@startuml
|
||||
skinparam ArrowColor #516f42
|
||||
skinparam activityBorderColor #516f42
|
||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@ -1218,12 +1218,12 @@ Search.appendIndex(
|
||||
}, {
|
||||
"fqsen": "\\Query\\QueryBuilderBase\u003A\u003A__construct\u0028\u0029",
|
||||
"name": "__construct",
|
||||
"summary": "Constructor",
|
||||
"summary": "",
|
||||
"url": "classes/Query-QueryBuilderBase.html#method___construct"
|
||||
}, {
|
||||
"fqsen": "\\Query\\QueryBuilderBase\u003A\u003A__destruct\u0028\u0029",
|
||||
"name": "__destruct",
|
||||
"summary": "Destructor",
|
||||
"summary": "",
|
||||
"url": "classes/Query-QueryBuilderBase.html#method___destruct"
|
||||
}, {
|
||||
"fqsen": "\\Query\\QueryBuilderBase\u003A\u003A__call\u0028\u0029",
|
||||
|
@ -170,9 +170,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="namespaces/default.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
<a href="namespaces/default.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Multibyte-safe trim function</p>
|
||||
@ -210,9 +210,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">35</span>
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
|
||||
<a href="namespaces/default.html#source-view.35" class="phpdocumentor-element-found-in__source" data-line="35" data-modal="source-view"></a>
|
||||
<a href="namespaces/default.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Filter out db rows into one array</p>
|
||||
@ -258,9 +258,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">53</span>
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
|
||||
<a href="namespaces/default.html#source-view.53" class="phpdocumentor-element-found-in__source" data-line="53" data-modal="source-view"></a>
|
||||
<a href="namespaces/default.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Zip a set of arrays together on common keys</p>
|
||||
@ -301,9 +301,9 @@ array.</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||
|
||||
<a href="namespaces/default.html#source-view.76" class="phpdocumentor-element-found-in__source" data-line="76" data-modal="source-view"></a>
|
||||
<a href="namespaces/default.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Determine whether a value in the passed array matches the pattern
|
||||
@ -350,9 +350,9 @@ passed</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">102</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="namespaces/default.html#source-view.102" class="phpdocumentor-element-found-in__source" data-line="102" data-modal="source-view"></a>
|
||||
<a href="namespaces/default.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Connection function</p>
|
||||
|
@ -219,9 +219,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">27</span>
|
||||
<span class="phpdocumentor-element-found-in__line">25</span>
|
||||
|
||||
<a href="packages/Query.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view"></a>
|
||||
<a href="packages/Query.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Multibyte-safe trim function</p>
|
||||
@ -259,9 +259,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">35</span>
|
||||
<span class="phpdocumentor-element-found-in__line">33</span>
|
||||
|
||||
<a href="packages/Query.html#source-view.35" class="phpdocumentor-element-found-in__source" data-line="35" data-modal="source-view"></a>
|
||||
<a href="packages/Query.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Filter out db rows into one array</p>
|
||||
@ -307,9 +307,9 @@ passed</dd>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">53</span>
|
||||
<span class="phpdocumentor-element-found-in__line">51</span>
|
||||
|
||||
<a href="packages/Query.html#source-view.53" class="phpdocumentor-element-found-in__source" data-line="53" data-modal="source-view"></a>
|
||||
<a href="packages/Query.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Zip a set of arrays together on common keys</p>
|
||||
@ -350,9 +350,9 @@ array.</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||
<span class="phpdocumentor-element-found-in__line">74</span>
|
||||
|
||||
<a href="packages/Query.html#source-view.76" class="phpdocumentor-element-found-in__source" data-line="76" data-modal="source-view"></a>
|
||||
<a href="packages/Query.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Determine whether a value in the passed array matches the pattern
|
||||
@ -399,9 +399,9 @@ passed</p>
|
||||
<aside class="phpdocumentor-element-found-in">
|
||||
<abbr class="phpdocumentor-element-found-in__file" title="src/common.php"><a href="files/src-common.html"><abbr title="src/common.php">common.php</abbr></a></abbr>
|
||||
:
|
||||
<span class="phpdocumentor-element-found-in__line">102</span>
|
||||
<span class="phpdocumentor-element-found-in__line">100</span>
|
||||
|
||||
<a href="packages/Query.html#source-view.102" class="phpdocumentor-element-found-in__source" data-line="102" data-modal="source-view"></a>
|
||||
<a href="packages/Query.html#source-view.100" class="phpdocumentor-element-found-in__source" data-line="100" data-modal="source-view"></a>
|
||||
</aside>
|
||||
|
||||
<p class="phpdocumentor-summary">Connection function</p>
|
||||
|
@ -120,19 +120,19 @@
|
||||
<th class="phpdocumentor-heading">Reason</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="phpdocumentor-cell">345</td>
|
||||
<td class="phpdocumentor-cell">347</td>
|
||||
<td class="phpdocumentor-cell"><a href="classes/Query-Drivers-AbstractDriver.html#method_getFunctions"><abbr title="\Query\Drivers\AbstractDriver::getFunctions()">AbstractDriver::getFunctions()</abbr></a></td>
|
||||
<td class="phpdocumentor-cell"><p>Will be removed in next version</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="phpdocumentor-cell">355</td>
|
||||
<td class="phpdocumentor-cell">357</td>
|
||||
<td class="phpdocumentor-cell"><a href="classes/Query-Drivers-AbstractDriver.html#method_getProcedures"><abbr title="\Query\Drivers\AbstractDriver::getProcedures()">AbstractDriver::getProcedures()</abbr></a></td>
|
||||
<td class="phpdocumentor-cell"><p>Will be removed in next version</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="phpdocumentor-cell">365</td>
|
||||
<td class="phpdocumentor-cell">367</td>
|
||||
<td class="phpdocumentor-cell"><a href="classes/Query-Drivers-AbstractDriver.html#method_getTriggers"><abbr title="\Query\Drivers\AbstractDriver::getTriggers()">AbstractDriver::getTriggers()</abbr></a></td>
|
||||
<td class="phpdocumentor-cell"><p>Will be removed in next version</p>
|
||||
</td>
|
||||
|
@ -48,8 +48,6 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tools/vendor/bin/robo build",
|
||||
"clean": "tools/vendor/bin/robo clean",
|
||||
"docs": "php tools/phpDocumentor run --sourcecode",
|
||||
"coverage": "php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/phpunit -c build",
|
||||
"pcov": "vendor/bin/phpunit -c build",
|
||||
|
35
justfile
Normal file
35
justfile
Normal file
@ -0,0 +1,35 @@
|
||||
# Lists the available actions
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Runs rector, showing what changes will be make
|
||||
rector-dry-run:
|
||||
tools/vendor/bin/rector process --config=tools/rector.php --dry-run src tests
|
||||
|
||||
# Runs rector, and updates the source files
|
||||
rector:
|
||||
tools/vendor/bin/rector process --config=tools/rector.php src tests
|
||||
|
||||
# Check code formatting
|
||||
check-fmt:
|
||||
tools/vendor/bin/php-cs-fixer fix --dry-run --verbose
|
||||
|
||||
# Fix code formatting
|
||||
fmt:
|
||||
tools/vendor/bin/php-cs-fixer fix --verbose
|
||||
|
||||
# Run tests
|
||||
test:
|
||||
composer run-script test
|
||||
|
||||
# Run tests, update snapshots
|
||||
test-update:
|
||||
composer run-script test-update
|
||||
|
||||
# Update the per-file header comments
|
||||
update-headers:
|
||||
php tools/update_header_comments.php
|
||||
|
||||
# Run unit tests and generate test-coverage report
|
||||
coverage:
|
||||
composer run-script coverage
|
121
phpdox.xml
121
phpdox.xml
@ -1,121 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- This is a skeleton phpDox config file - Check http://phpDox.de for latest version and more info -->
|
||||
<phpdox xmlns="http://xml.phpdox.net/config" silent="false">
|
||||
<!-- @silent: true | false to enable or disable visual output of progress -->
|
||||
|
||||
<!-- Additional bootstrap files to load for additional parsers, enrichers and/or engines -->
|
||||
<!-- Place as many require nodes as you feel like in this container -->
|
||||
<!-- syntax: <require file="/path/to/file.php" /> -->
|
||||
<bootstrap />
|
||||
|
||||
<!-- A phpDox project to process, you can have multiple projects in one config file -->
|
||||
<project name="Query" source="src" workdir="build/phpdox/xml">
|
||||
<!-- @name - The name of the project -->
|
||||
<!-- @source - The source directory of the application to process -->
|
||||
<!-- @workdir - The directory to store the xml data files in -->
|
||||
|
||||
<!-- A phpDox config file can define additional variables (properties) per project -->
|
||||
<!-- <property name="some.name" value="the.value" /> -->
|
||||
|
||||
<!-- Values can make use of previously defined properties -->
|
||||
<!-- The following are defined by default:
|
||||
|
||||
${basedir} Directory the loaded config file is in
|
||||
|
||||
${phpDox.home} Directory of the phpDox installation
|
||||
${phpDox.file} The current config file
|
||||
${phpDox.version} phpDox' version number
|
||||
|
||||
${phpDox.project.name} The value of project/@name if set, otherwise 'unnamed'
|
||||
${phpDox.project.source} The value of project/@source if set, otherwise '${basedir}/src'
|
||||
${phpDox.project.workdir} The value of project/@workdir if set, otherwise '${basedir}/build/phpdox/xml'
|
||||
|
||||
${phpDox.php.version} The PHP Version of the interpreter in use
|
||||
|
||||
-->
|
||||
|
||||
<!-- Additional configuration for the collecting process (parsing of php code, generation of xml data) -->
|
||||
<collector publiconly="true" backend="parser" encoding="auto">
|
||||
<!-- @publiconly - Flag to disable/enable processing of non public methods and members -->
|
||||
<!-- @backend - The collector backend to use, currently only shipping with 'parser' -->
|
||||
<!-- @encoding - Charset encoding of source files (overwrite default 'auto' if detection fails) -->
|
||||
|
||||
<!-- <include / exclude filter for filelist generator, mask must follow fnmatch() requirements -->
|
||||
<include mask="*.php" />
|
||||
<exclude mask="" />
|
||||
|
||||
<!-- How to handle inheritance -->
|
||||
<inheritance resolve="true">
|
||||
<!-- @resolve - Flag to enable/disable resolving of inheritance -->
|
||||
|
||||
<!-- You can define multiple (external) dependencies to be included -->
|
||||
<!-- <dependency path="" -->
|
||||
<!-- @path - path to a directory containing an index.xml for a dependency project -->
|
||||
</inheritance>
|
||||
|
||||
</collector>
|
||||
|
||||
<!-- Configuration of generation process -->
|
||||
<generator output="apiDocumentation">
|
||||
<!-- @output - (Base-)Directory to store output data in -->
|
||||
|
||||
<!-- A generation process consists of one or more build tasks and of (optional) enrich sources -->
|
||||
|
||||
<enrich base="build/logs">
|
||||
<!-- @base - (Base-)Directory of datafiles used for enrich process -->
|
||||
|
||||
<!--<source type="...">-->
|
||||
<!-- @type - the handler for the enrichment -->
|
||||
<!-- known types by default are: build, checkstyle, git, phpcs, phploc, phpunit, pmd -->
|
||||
|
||||
<!-- every enrichment source can have additional configuration nodes, most probably need a logfile -->
|
||||
<!-- <file name="path/to/log.xml" /> -->
|
||||
<!--</source> -->
|
||||
|
||||
<!-- add phploc output -->
|
||||
<source type="phploc">
|
||||
<file name="phploc.xml" />
|
||||
</source>
|
||||
|
||||
<!-- git vcs information -->
|
||||
<!-- <source type="git">
|
||||
<git binary="/usr/bin/git" />
|
||||
<history enabled="true" limit="15" cache="${phpDox.project.workdir}/gitlog.xml" />
|
||||
</source> -->
|
||||
|
||||
<!-- PHP Code Sniffer findings -->
|
||||
<source type="checkstyle">
|
||||
<file name="phpcs.xml" />
|
||||
</source>
|
||||
|
||||
<!-- PHPMessDetector -->
|
||||
<source type="pmd">
|
||||
<file name="phpmd.xml" />
|
||||
</source>
|
||||
|
||||
<!-- PHPUnit Coverage XML -->
|
||||
<!--
|
||||
<source type="phpunit">
|
||||
<filter directory="${phpDox.project.source}" />
|
||||
<coverage path="coverage" />
|
||||
</source>
|
||||
-->
|
||||
</enrich>
|
||||
|
||||
<!-- <build engine="..." enabled="true" output="..." /> -->
|
||||
<!-- @engine - The name of the engine this build task uses, use ./phpDox - -engines to get a list of available engines -->
|
||||
<!-- @enabled - Flag to enable/disable this engine, default: enabled=true -->
|
||||
<!-- @output - (optional) Output directory; if relative (no / as first char) it is interpreted as relative to generator/@output -->
|
||||
|
||||
<!-- An engine and thus build node can have additional configuration child nodes, please check the documentation for the engine to find out more -->
|
||||
|
||||
<!-- default engine "html" -->
|
||||
<build engine="html" enabled="true">
|
||||
<template dir="${phpDox.home}/templates/html" />
|
||||
<file extension="html" />
|
||||
</build>
|
||||
|
||||
</generator>
|
||||
</project>
|
||||
|
||||
</phpdox>
|
@ -1,10 +1,9 @@
|
||||
{
|
||||
"require": {
|
||||
"consolidation/robo": "^4.0.0",
|
||||
"phploc/phploc": "^7.0",
|
||||
"phpmd/phpmd": "^2.8",
|
||||
"phpstan/phpstan": "^1.9.14",
|
||||
"sebastian/phpcpd": "^6.0",
|
||||
"squizlabs/php_codesniffer": "^3.0.0"
|
||||
"friendsofphp/php-cs-fixer": "^3.6",
|
||||
"rector/rector": "^0.15.21"
|
||||
}
|
||||
}
|
||||
|
89
tools/rector.php
Normal file
89
tools/rector.php
Normal file
@ -0,0 +1,89 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
|
||||
use Rector\CodeQuality\Rector\For_\{ForRepeatedCountToOwnVariableRector, ForToForeachRector};
|
||||
use Rector\CodeQuality\Rector\If_\{ConsecutiveNullCompareReturnsToNullCoalesceQueueRector, SimplifyIfElseToTernaryRector, SimplifyIfReturnBoolRector};
|
||||
use Rector\CodeQuality\Rector\Ternary\{SimplifyTautologyTernaryRector, SwitchNegatedTernaryRector};
|
||||
use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
|
||||
use Rector\CodingStyle\Rector\Class_\AddArrayDefaultToArrayPropertyRector;
|
||||
use Rector\CodingStyle\Rector\ClassConst\RemoveFinalFromConstRector;
|
||||
use Rector\CodingStyle\Rector\ClassMethod\{NewlineBeforeNewAssignSetRector, OrderAttributesRector};
|
||||
use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
|
||||
use Rector\CodingStyle\Rector\FuncCall\
|
||||
{CallUserFuncArrayToVariadicRector,
|
||||
CallUserFuncToMethodCallRector,
|
||||
CountArrayToEmptyArrayComparisonRector,
|
||||
VersionCompareFuncCallToConstantRector};
|
||||
use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
|
||||
use Rector\CodingStyle\Rector\String_\SymplifyQuoteEscapeRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DeadCode\Rector\ClassMethod\{RemoveUselessParamTagRector, RemoveUselessReturnTagRector};
|
||||
use Rector\DeadCode\Rector\Foreach_\RemoveUnusedForeachKeyRector;
|
||||
use Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector;
|
||||
use Rector\DeadCode\Rector\Switch_\RemoveDuplicatedCaseInSwitchRector;
|
||||
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
|
||||
use Rector\EarlyReturn\Rector\If_\{ChangeIfElseValueAssignToEarlyReturnRector, RemoveAlwaysElseRector};
|
||||
use Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector;
|
||||
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
|
||||
use Rector\PHPUnit\Set\PHPUnitSetList;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
use Rector\TypeDeclaration\Rector\ClassMethod\{AddMethodCallBasedStrictParamTypeRector, ParamTypeByMethodCallTypeRector, ParamTypeByParentCallTypeRector};
|
||||
use Rector\TypeDeclaration\Rector\Closure\AddClosureReturnTypeRector;
|
||||
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
|
||||
|
||||
return static function (RectorConfig $config): void {
|
||||
// Import names with use statements
|
||||
$config->importNames(TRUE);
|
||||
$config->importShortClasses(FALSE);
|
||||
|
||||
$config->sets([
|
||||
LevelSetList::UP_TO_PHP_81,
|
||||
PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES,
|
||||
PHPUnitSetList::PHPUNIT_100,
|
||||
]);
|
||||
|
||||
$config->rules([
|
||||
AddArrayDefaultToArrayPropertyRector::class,
|
||||
AddClosureReturnTypeRector::class,
|
||||
AddMethodCallBasedStrictParamTypeRector::class,
|
||||
CallUserFuncArrayToVariadicRector::class,
|
||||
CallUserFuncToMethodCallRector::class,
|
||||
CountArrayToEmptyArrayComparisonRector::class,
|
||||
ChangeIfElseValueAssignToEarlyReturnRector::class,
|
||||
ChangeNestedForeachIfsToEarlyContinueRector::class,
|
||||
CompleteDynamicPropertiesRector::class,
|
||||
ConsecutiveNullCompareReturnsToNullCoalesceQueueRector::class,
|
||||
CountArrayToEmptyArrayComparisonRector::class,
|
||||
ForRepeatedCountToOwnVariableRector::class,
|
||||
ForToForeachRector::class,
|
||||
// NewlineAfterStatementRector::class,
|
||||
NewlineBeforeNewAssignSetRector::class,
|
||||
ParamTypeByMethodCallTypeRector::class,
|
||||
ParamTypeByParentCallTypeRector::class,
|
||||
RemoveAlwaysElseRector::class,
|
||||
RemoveDuplicatedCaseInSwitchRector::class,
|
||||
RemoveFinalFromConstRector::class,
|
||||
RemoveUnusedForeachKeyRector::class,
|
||||
RemoveUselessParamTagRector::class,
|
||||
RemoveUselessReturnTagRector::class,
|
||||
RemoveUselessVarTagRector::class,
|
||||
SimplifyIfElseToTernaryRector::class,
|
||||
SimplifyIfReturnBoolRector::class,
|
||||
SimplifyTautologyTernaryRector::class,
|
||||
SymplifyQuoteEscapeRector::class,
|
||||
StaticArrowFunctionRector::class,
|
||||
SwitchNegatedTernaryRector::class,
|
||||
TypedPropertyFromAssignsRector::class,
|
||||
VersionCompareFuncCallToConstantRector::class,
|
||||
WrapEncapsedVariableInCurlyBracesRector::class,
|
||||
]);
|
||||
|
||||
$config->ruleWithConfiguration(OrderAttributesRector::class, [
|
||||
'alphabetically',
|
||||
]);
|
||||
|
||||
$config->skip([
|
||||
ReadOnlyPropertyRector::class,
|
||||
RestoreDefaultNullToNullableTypePropertyRector::class,
|
||||
]);
|
||||
};
|
@ -1,89 +1,89 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
$file_patterns = [
|
||||
'src/*.php',
|
||||
'tests/*.php',
|
||||
'Robofile.php'
|
||||
'src/*.php',
|
||||
'tests/*.php',
|
||||
'Robofile.php',
|
||||
];
|
||||
|
||||
if ( ! function_exists('glob_recursive'))
|
||||
{
|
||||
// Does not support flag GLOB_BRACE
|
||||
// Does not support flag GLOB_BRACE
|
||||
|
||||
function glob_recursive($pattern, $flags = 0)
|
||||
{
|
||||
$files = glob($pattern, $flags);
|
||||
function glob_recursive($pattern, $flags = 0): bool|array
|
||||
{
|
||||
$files = glob($pattern, $flags);
|
||||
|
||||
foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir)
|
||||
{
|
||||
$files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
|
||||
}
|
||||
foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir)
|
||||
{
|
||||
$files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
|
||||
}
|
||||
|
||||
return $files;
|
||||
}
|
||||
return $files;
|
||||
}
|
||||
}
|
||||
|
||||
function get_text_to_replace($tokens)
|
||||
function get_text_to_replace($tokens): string
|
||||
{
|
||||
$output = '';
|
||||
$output = '';
|
||||
|
||||
// Tokens have the follow structure if arrays:
|
||||
// [0] => token type constant
|
||||
// [1] => raw sytax parsed to that token
|
||||
// [2] => line number
|
||||
foreach($tokens as $token)
|
||||
{
|
||||
// Since we only care about opening docblocks,
|
||||
// bail out when we get to the namespace token
|
||||
if (is_array($token) && $token[0] === T_NAMESPACE)
|
||||
{
|
||||
break;
|
||||
}
|
||||
// Tokens have the follow structure if arrays:
|
||||
// [0] => token type constant
|
||||
// [1] => raw sytax parsed to that token
|
||||
// [2] => line number
|
||||
foreach ($tokens as $token)
|
||||
{
|
||||
// Since we only care about opening docblocks,
|
||||
// bail out when we get to the namespace token
|
||||
if (is_array($token) && $token[0] === T_NAMESPACE)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
if (is_array($token))
|
||||
{
|
||||
$token = $token[1];
|
||||
}
|
||||
if (is_array($token))
|
||||
{
|
||||
$token = $token[1];
|
||||
}
|
||||
|
||||
$output .= $token;
|
||||
}
|
||||
$output .= $token;
|
||||
}
|
||||
|
||||
return $output;
|
||||
return $output;
|
||||
}
|
||||
|
||||
function get_tokens($source)
|
||||
function get_tokens($source): array
|
||||
{
|
||||
return token_get_all($source);
|
||||
return token_get_all($source);
|
||||
}
|
||||
|
||||
function replace_files(array $files, $template)
|
||||
function replace_files(array $files, $template): void
|
||||
{
|
||||
print_r($files);
|
||||
foreach ($files as $file)
|
||||
{
|
||||
$source = file_get_contents($file);
|
||||
print_r($files);
|
||||
|
||||
if (stripos($source, 'namespace') === FALSE)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
foreach ($files as $file)
|
||||
{
|
||||
$source = file_get_contents($file);
|
||||
|
||||
$tokens = get_tokens($source);
|
||||
$text_to_replace = get_text_to_replace($tokens);
|
||||
if (stripos($source, 'namespace') === FALSE)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$header = file_get_contents(__DIR__ . $template);
|
||||
$new_text = "<?php declare(strict_types=1);\n{$header}";
|
||||
$tokens = get_tokens($source);
|
||||
$text_to_replace = get_text_to_replace($tokens);
|
||||
|
||||
$new_source = str_replace($text_to_replace, $new_text, $source);
|
||||
file_put_contents($file, $new_source);
|
||||
}
|
||||
$header = file_get_contents(__DIR__ . $template);
|
||||
$new_text = "<?php declare(strict_types=1);\n{$header}";
|
||||
|
||||
$new_source = str_replace($text_to_replace, $new_text, $source);
|
||||
file_put_contents($file, $new_source);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($file_patterns as $glob)
|
||||
{
|
||||
$files = glob_recursive($glob);
|
||||
replace_files($files, '/header_comment.txt');
|
||||
$files = glob_recursive($glob);
|
||||
replace_files($files, '/header_comment.txt');
|
||||
}
|
||||
|
||||
echo "Successfully updated headers \n";
|
||||
|
Loading…
Reference in New Issue
Block a user