Coder Social home page Coder Social logo

Delete row problem (1.3.1) about fsql HOT 5 CLOSED

sbuberl avatar sbuberl commented on July 22, 2024
Delete row problem (1.3.1)

from fsql.

Comments (5)

sbuberl avatar sbuberl commented on July 22, 2024

1.4 isn't officially out yet. The master branch of this repo is what is 1.4 will be released from after I close a few more issues. Did you mean my old-1.4-dev branch? That's where I developed some features for 1.4 but I stopped developing there and switched to the master and manually pulled in what I wanted.

1.3.1 is very old and very buggy and has no unit tests. Can you try again with the latest from here? Download or clone this repo and check out the Master Branch Tutorial

And the table entries keys not resetting is intended design (still in use in the master). So it if callers are referencing say row 2, it's the same row 2 in both cases. And if it a row is added, it's given the next available. I at one point played with setting unique ids for the table entry keys, but hasn't made into the master branch yet. Not sure why resetting them would fix anything.

If you're still having issues, let me know and I will look into them.

from fsql.

FragmentedRose avatar FragmentedRose commented on July 22, 2024

Forgive me if I seem stupid with this, but you say to try the new version... From the Master Branch. Your link mentions: require_once("Environment.php"); So I assume I need that file, which can be found here https://github.com/sbuberl/fSQL/tree/master/src (I can't find it anywhere else...) But when I try to run it I get a message that reads: You must set up the project dependencies, run the following commands: curl -sS https://getcomposer.org/installer | php php composer.phar install

Does that mean I have to compile Environment.php before I can use it, because to be honest I have no clue how to do that.

from fsql.

jasteele12 avatar jasteele12 commented on July 22, 2024

Most modern-day PHP packages and frameworks use composer, a PHP dependency manager.

To learn more (it really only takes a few minutes to understand and use) start here: https://getcomposer.org/doc/00-intro.md

from fsql.

sbuberl avatar sbuberl commented on July 22, 2024

I'm going to test this after work with the master.

from fsql.

sbuberl avatar sbuberl commented on July 22, 2024

Added phpunit test for this bug using master that passes so I'm going to close this.

https://github.com/sbuberl/fSQL/blob/master/tests/RegressionTest.php

Let me know if you have any more questions.

from fsql.

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.