Overview

Namespaces

  • LeanMapper
    • Bridges
      • Nette
        • DI
    • Exception
    • Reflection
    • Relationship

Classes

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

Interfaces

  • IEntityFactory
  • IMapper
  • Overview
  • Namespace
  • Class

Class Fluent

\Dibi\Fluent with filter support

Dibi\Fluent
Extended by LeanMapper\Fluent
Namespace: LeanMapper
Author: Vojtěch Kohout
Located at LeanMapper/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 array
# _export( string|null $clause = null, array|null $args = null )

Exports current state

Exports current state

Parameters

$clause
$args

Returns

array
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
# [ // fixes missing UNION in dibi 'SELECT' => [ 'SELECT', 'DISTINCT', 'FROM', 'WHERE', 'GROUP BY', 'HAVING', 'ORDER BY', 'LIMIT', 'OFFSET', 'UNION', ], 'UPDATE' => ['UPDATE', 'SET', 'WHERE', 'ORDER BY', 'LIMIT'], 'INSERT' => ['INSERT', 'INTO', 'VALUES', 'SELECT'], 'DELETE' => ['DELETE', 'FROM', 'USING', 'WHERE', 'ORDER BY', 'LIMIT'], ]
tharos/leanmapper v3.3.0 API documentation API documentation generated by ApiGen