GithubHelp home page GithubHelp logo

docs's Introduction

docs's People

Contributors

bradjones1 avatar dalhaqq avatar ilyes512 avatar mabar avatar marcus-at-localhost avatar msarca avatar pento avatar sorinsarca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docs's Issues

Is possible to use Postgresql Jsonb data type with Opis?

Ciao!
I have refactoring some old scripts and migrating native PDO queries to Opis.
At some point I found a query which looks like that (reduced version to explain):

SELECT c.column1, c.json::jsonb AS raw_data FROM table c

Since I coudn't find onto documentation, I have tryed to do

$this->db->from( [ 'table' => 'c' ])
                ->select( function ($include ) {
                    $include
                        ->column( 'c.column1' )
                        ->column( 'c.json::jsonb', 'raw_data' );
                } )
                ->all();

But, not worked, ofc, otherwise I wouldn't be here asking a help hehe
Thank you in advice

Documentation for IEntityMapper event handler?

I was looking for how to change the value of a column automatically when an entity is created or another column is modified, then I found that IEntityMapper has an "on" method, but I can't find any documentation about it. I'm trying to read the code from the previous commit, but I still don't understand how it works
I don't know if it's appropriate to add an issue here or should I add it in the orm repository, but I think its good if there is an explanation about the method.
Thanks in advance.

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.