2017 © Pedro Peláez
 

typo3-flow-package sequence

Sequence is a very simple database agnostic but database based sequence generator

image

digicomp/sequence

Sequence is a very simple database agnostic but database based sequence generator

  • Friday, June 24, 2016
  • by fcool
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,849 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

DigiComp.Sequence

This is a very simple and stupid tool, helping in generation of gapless sequences. For this task it relies on key integrity of the database of your choice., (*1)

Usage is quite simple also:, (*2)

/**
 * @param \DigiComp\Sequence\Service\SequenceNumberGenerator $sequenceNumberGenerator
 */
public function __construct(SequenceNumberGenerator $sequenceNumberGenerator) 
{
    $this->orderId = $sequenceNumberGenerator->getNextNumberFor($this);     
}

getNextNumberFor allows you to give an object which will be resolved to its FQCN or a custom sequence name., (*3)

The CommandController helps you to advance the current sequence number, in case of migrations or similar., (*4)

See ./flow help sequence:advance if interested., (*5)

The Versions

24/06 2016

dev-master

9999999-dev https://github.com/digicomp/DigiComp.Sequence

Sequence is a very simple database agnostic but database based sequence generator

  Sources   Download

MIT

The Requires

 

The Development Requires

doctrine sequence flow neos

24/06 2016

1.1.1

1.1.1.0 https://github.com/digicomp/DigiComp.Sequence

Sequence is a very simple database agnostic but database based sequence generator

  Sources   Download

MIT

The Requires

 

The Development Requires

04/11 2015

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

The Development Requires

21/07 2015

1.0.3

1.0.3.0

  Sources   Download

The Requires

 

The Development Requires

05/05 2014

1.0.2

1.0.2.0

  Sources   Download

The Requires

 

The Development Requires

05/05 2014

1.0.1

1.0.1.0

  Sources   Download

The Requires

 

The Development Requires

16/04 2014

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires