Overview

Namespaces

  • LeanMapper
    • Exception
    • Reflection
    • Relationship

Classes

  • Caller
  • Connection
  • DataDifference
  • DefaultEntityFactory
  • DefaultMapper
  • Entity
  • Events
  • Filtering
  • FilteringResult
  • FilteringResultDecorator
  • Fluent
  • ImplicitFilters
  • Repository
  • Result
  • ResultProxy
  • Row

Interfaces

  • IEntityFactory
  • IMapper
  • Overview
  • Namespace
  • Class

Class Fluent

DibiFluent with filter support

DibiFluent
Extended by LeanMapper\Fluent
Namespace: LeanMapper
Author: Vojtěch Kohout
Located at Fluent.php
Methods summary
public LeanMapper\FilteringResult|null
# applyFilter( Closure|string $filter, mixed|null $args = null )

Applies given filter to current statement

Applies given filter to current statement

Parameters

$filter
$args

Returns

LeanMapper\FilteringResult|null
public LeanMapper\Fluent
# createSelect( array|null $args = null )

Parameters

$args

Returns

LeanMapper\Fluent
public string
# _export( string|null $clause = null, array|null $args = null )

Exports current state

Exports current state

Parameters

$clause
$args

Returns

string
public array|null
# getRelatedKeys( )

Returns

array|null
public LeanMapper\Fluent
# setRelatedKeys( array|null $keys )

Parameters

$keys

Returns

LeanMapper\Fluent

Throws

LeanMapper\Exception\InvalidArgumentException
Properties summary
public static array $masks
# array( // fixes missing UNION in dibi 'SELECT' => array('SELECT', 'DISTINCT', 'FROM', 'WHERE', 'GROUP BY', 'HAVING', 'ORDER BY', 'LIMIT', 'OFFSET', 'UNION'), 'UPDATE' => array('UPDATE', 'SET', 'WHERE', 'ORDER BY', 'LIMIT'), 'INSERT' => array('INSERT', 'INTO', 'VALUES', 'SELECT'), 'DELETE' => array('DELETE', 'FROM', 'USING', 'WHERE', 'ORDER BY', 'LIMIT'), )
tharos/leanmapper v2.3.0 API documentation API documentation generated by ApiGen