Giter VIP home page Giter VIP logo

doctrine-dbal-postgresql's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doctrine-dbal-postgresql's Issues

Version 1.0 release? Drop PHP < 7.4? <8.0?

Thoughts on a 1.0 release?

PHP 5.6 has been dead since 2018, what do you think about dropping support for anything less than php 7.4? Actually, 7.4 will be at EOL in 4 months, since this would be a new release, perhaps you could simply require PHP8, and take advantage of all the goodies it provides.

Test

Test issue on GitHub

Missing `ArrayAggregate::class`

Hello,

The README mention a class ArrayAggregate (OpsWay\Doctrine\ORM\Query\AST\Functions\ArrayAggregate) but it's not in the repository.

Adds support to config parameter

to_tsquery and to_tsvector both support a config parameter to indicate which dictionary it will use.

This is useful on multi-language applications.

Is there any reason as to why this is not supported?

New tag

What is the requirement for a new version to be tagged?
I need the latest code, but I don't want to use dev-master on my composer.json.

Any way I can help?

Refactor class names

Split functions & operators by different namespace. Group by types. Rename if needed.

Missing use statement

I'm attempting to use FTS with Doctrine.
I copy'n'pasted from Readme to config.yml.

Then I got:

Attempted to load class "ToTsvector" from namespace "OpsWay\Doctrine\ORM\Query\AST\Functions".
Did you forget a "use" statement for "Opsway\Doctrine\ORM\Query\AST\Functions\ToTsvector"?

The issue is the root namespace. On your readme it is stated as OpsWay, when it should be Opsway.

I'm considering to write a PR addressing this issue, but I wonder what is wrong: the README or the namespace itself?

Missing PlainToTsquery

currently with ToTsquery, it fails if you enter a string with a space , without a and
for this postgresql propose the plainto_tsquery which is not supported by this library.

Using function inside another function

Hi! There was a need to use one function inside the other to get this line order by field->'first'->>'other'. Simple nesting did not work. Tell me, is this even possible? Thank you!

How to use TS_MATCH_OP

Hi,

I registered TS_MTACH_OP to doctrine:
$config
->addCustomStringFunction('TS_MATCH_OP','Opsway\Doctrine\ORM\Query\AST\Functions\TsMatch');

In my resource file, I have this query:
$query = $this->em->createQuery('SELECT u FROM App\Entity\Users u WHERE TS_MATCH_OP( u.nameFTS, :name)');
$query->setParameter('name', 'Bob');
$users = $query->getResult();

but I have errors:

  1. Doctrine\ORM\Query\QueryException
    Message: SELECT u FROM App\Entity\Users u WHERE TS_MATCH_OP( u.nameFTS, :name)
  2. Doctrine\ORM\Query\QueryException
    [Syntax Error] line 0, col -1: Error: Expected =, <, <=, <>, >, >=, !=, got end of string

Can you help me with this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.