ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:createsequence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
reference:createsequence [2015/07/24 21:59] – [Usage] mnewnhamv5:reference:createsequence [2016/01/13 02:31] – ↷ Links adapted because of a move operation mnewnham
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[database:feature_comparison|Feature Comparison Matrix]]+[[v5:database:feature_comparison|Feature Comparison Matrix]]
 == Syntax == == Syntax ==
   bool createSequence(   bool createSequence(
Line 14: Line 14:
 The function ''createSequence()'' creates an auto-incrementing number device. If the database supports it, it uses native sequence handling routines, otherwise it emulates the functionality using a table and an auto-incrementing numbers. The function ''createSequence()'' creates an auto-incrementing number device. If the database supports it, it uses native sequence handling routines, otherwise it emulates the functionality using a table and an auto-incrementing numbers.
  
-Once created, numbers can retrieved using [[reference:genid|genId()]].+Once created, numbers can retrieved using [[v5:reference:genid|genId()]]. 
 +----------------------------------------
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
v5/reference/connection/createsequence.txt · Last modified: 2016/01/17 00:45 by mnewnham