Giter Club home page Giter Club logo

Comments (6)

silvioprog avatar silvioprog commented on July 19, 2024

... the current implementation is in low level and it is very very fast.

from brookframework.

mdbs99 avatar mdbs99 commented on July 19, 2024

Maybe you should take a look the Greyhound's constraints implementation.

from brookframework.

silvioprog avatar silvioprog commented on July 19, 2024

I saw. I think the code for ForeignKey (I've finished it, but it's in testing) could be used in Greyhound project as well.

from brookframework.

mdbs99 avatar mdbs99 commented on July 19, 2024

I thought just the opposite, ie, Greyhound's constraints implementation be used in Brook.

A TghSQLForeignKeyConstraint class implementation is in my TODO list a long time. ;-)

from brookframework.

silvioprog avatar silvioprog commented on July 19, 2024

I needed it urgently because I'm concluding a commercial project that uses this feature, then I implemented it before yesterday. The data base error messages is very ugly.

My implementation is a bit different, and also don't know if you would be interested on it. I'm using a low level implementation, using pointer and record.

from brookframework.

mdbs99 avatar mdbs99 commented on July 19, 2024

I needed it urgently because I'm concluding a commercial project that uses this feature, then I implemented it before yesterday. The data base error messages is very ugly.

I told you how implement this feature using Greyhound on your application, very very simple but...

My implementation is a bit different, and also don't know if you would be interested on it. I'm using a low level implementation, using pointer and record.

"low level implementation"... what is the problem?
The implementation inside methods not is the most important. The interface of classes is.
If you implement a good interface I could use on Greyhound without problems... but this is another subject.

Anyway, if your implementation saved you, good!

from brookframework.

Related Issues (20)

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.