flow php

UNIFIED DATA PROCESSING FRAMEWORK

composer require flow-php/etl ~0.29.0

ChangelogRelease Cycle

play Try Flow Online

elephant
extract

Extracts

Read from various data sources.

arrow
transform

Transforms

Shape and optimize for your needs.

arrow
load

Loads

Store and secure in one of many available data sinks.


Definition


/**
 * Create a raw SQL expression (use with caution).
 *
 * SECURITY WARNING: This function accepts raw SQL without parameterization.
 * SQL injection is possible if used with untrusted user input.
 * Only use with trusted, validated input.
 *
 * For user-provided values, use param() instead:
 * ```php
 * // UNSAFE - SQL injection possible:
 * raw_expr("custom_func('" . $userInput . "')")
 *
 * // SAFE - use parameters:
 * func('custom_func', param(1))
 * ```
 */
raw_expr(string $sql) : RawExpression

Contributors

Join us on GitHub external resource
scroll back to top