HomeData Generation Language Online HelpRealistic data for database testing purposess
Table of Content
  • General Information
    • Patterns
    • Escaping
    • Items
    • Symbol
    • Repeater
    • Blocks
    • Optional Part
    • List
    • Expression
    • Column Reference
    • Groups
    • Date and Time Formats
    • Format Strings
    • Error Messages
    • Engine Editions
  • Functions
    • List by Category
    • BLOB loader
    • By Example
    • By Query
    • Case
    • Convert to document
    • Current Date
    • Current Time
    • Date Constant
    • Database Table
    • DLL
    • File
    • First
    • Format
    • From MS Access
    • From MS Excel
    • Geography
    • Geometry
    • GUID Generator
    • If Random
    • If by expression
    • Incremental Symbol
    • Incremental Date
    • Incremental Integer
    • Incremental Float Value
    • Incremental Time
    • JSON data
    • Last
    • Library Item
    • List
    • List by Pattern
    • Lower
    • Named Generator
    • Old
    • Pattern
    • Quote
    • Random Date
    • Random Integer
    • Random Float
    • Random String
    • Random Time
    • Regexp
    • Script
    • Sequence
    • Text
    • Time Constant
    • Truncate
    • Unique
    • Upper
    • Variables
    • Web File
    • XML
  • Group Functions
    • Group by Excel File
    • Group by Table
    • Group by Text File
    • Group by Query
    • Group Item
    • Library Group
    • Script Group
    • Web File Group
  • Array Functions
    • Array of Integers
    • Array of Strings
    • Array of Predefined Values
    • General Array
  • Make JSON Functions
    • Make Array
    • Make Object
    • Make Item
    • Make JSON
  • Value Library
    • Value Library
    • Library index
  • How to...
    • Numeric examples
    • Date and Time examples
    • Other examples
Group by Library Function

$LibGroup function allows the user to create a value group based on Value Library's table.
The function has the following parameters:

  1. Group number. Positive Integer.
  2. Data Set Name. String.
  3. Column List. Comma-separated string list or * for all columns.
  4. (optional, for '*' as column list only) Where clause. String, default value is empty that means 'all rows'.

Examples

  1. $LibGroup(2,Cities,Name,Country)
    where: 2 is a group name, 'Cities' is list name and 'Name,Country' - columns.
  2. $LibGroup(1,Cities,*) - create group #1 based on 'Cities' set with all columns included.
  3. $LibGroup(1,Cities,*,Country='USA') - create group #1 based on US Cities list.
  • 2008-2021. DTM soft. All rights reserved.

  • Privacy policy and Terms of Service