The module implements a simplified database engine based on text files. It can be used by OpenSIPS DB interface instead of other database module (like MySQL).


DB-Text The text based database DB-Text is able to open and manipulate CSV and TSV file as never was possible before To import any CSV or TSV file is enough to drag and drop (or select via a standard open dialog) the file to import. Specify a Language for Text Index¶. This tutorial describes how to specify the default language associated with the text index and also how to create text indexes for collections that contain documents in different languages. Specify the Default Language for a text Index¶. The default language associated with the indexed data determines the rules to parse word roots (i.e. Boxthresh can be used to balance the precision and recall, which may be different for different datasets to get a good F-measure.polygon is only used for arbitrary-shape text dataset. The size of the input images are defined in validatedata-processes-AugmentDetectionData in base.yaml. Evaluate the speed. Set adaptive to False in the yaml file to speedup the inference without decreasing. DB-Text helps me maintain a database 11,157 rows by 4 columns. Native files and imports load instantly. Searches are wicked fast and results are filtered to show only those rows that fulfill search criteria. I use DB-Text's Export to Text feature to save the file to my Dropbox folder for searching on my iPad. TextField is a field used to create an arbitrary amount of text characters in a database column defined by the Django ORM. The Django project has wonderful documentation for TextField and all of the other column fields. Note that TextField is defined within the django.db.models.fields module but is typically referenced from django.db.models rather than including the fields module reference.

The module is meant for use in demos or small devices that do not support other DB modules. It keeps everything in memory and if you deal with large amount of data you may run quickly out of memory. Also, it has not implemented all standard database facilities (like order by), it includes minimal functionality to work properly with OpenSIPS

Db textworks

NOTE: the timestamp is printed in an integer value from time_t structure. If you use it in a system that cannot do this conversion, it will fail (support for such situation is in to-do list).

NOTE: even when is in non-caching mode, the module does not write back to hard drive after changes. In this mode, the module checks if the corresponding file on disk has changed, and reloads it. The write on disk happens at OpenSIPS shut down.

The db_text database system architecture:

  • a database is represented by a directory in the local file system. NOTE: when you use db_text in OpenSIPS, the database URL for modules must be the path to the directory where the table-files are located, prefixed by text://, e.g., text:///var/dbtext/opensips. If there is no / after text:// then CFG_DIR/ is inserted at the beginning of the database path. So, either you provide an absolute path to database directory or a relative one to CFG_DIR directory.

    XCommander ALPHA Goods Hard Goods Soft Goods Snorkels Gallery Ideology Site navigation. Menu Site navigation. Wheels by Style Command 5x120 5x127 5x130 5x150 5x165 6x120. New for 2021 is Alpha Equipt Wheels' bead-lock ready xCommander This wheel is designed to work with advanced off-road setups. Designed to work with Alpha Equipt Wheels' street-lock and bead-lock ring system, you can also run the wheel without a ring on a conventional mounted tire. ALPHA XCOMMANDER BLACK RING (Wheel Original) Replacement center cap to match cap originally sent with wheel. Center caps are sold individually. Xcommander. New for 2021 is our bead-lock ready xCommander; This wheel is designed to work with advanced off-road setups; Designed to work with our street-lock and bead-lock ring system, you can also run the wheel without a ring on a conventional mounted tire; Valve stem location is compatible with the Powertank Monster Valve System. Download XCommander for free. XCommander is a Norton Commander clone and will be run under Linux, it will be written in Trolltech's QT framework(so you can port it under Windows too). I plan to include the ability to edit M3u playlists easy, so you can build quick a playlist for XMMS.

  • a table is represented by a text file inside database directory.

Dbtext Access

First line is the definition of the columns. Each column must be declared as follows:

  • the name of column must not include white spaces.

  • the format of a column definition is: name(type,attr).

  • between two column definitions must be a white space, e.g., first_name(str) last_name(str).

  • the type of a column can be:

    • int - integer numbers.

    • double - real numbers with two decimals.

    • str - strings with maximum size of 4KB.

  • a column can have one of the attributes:

    • auto - only for 'int' columns, the maximum value in that column is incremented and stored in this field if it is not provided in queries.

    • null - accept null values in column fields.

    • if no attribute is set, the fields of the column cannot have null value.

  • each other line is a row with data. The line ends with n.

  • the fields are separated by :.

  • no value between two ':' (or between ':' and start/end of a row) means null value.

  • next characters must be escaped in strings: n, r, t, :.

  • 0 -- the zero value must be escaped too.

Example 1.1. Sample of a db_text table

Example 1.2. Minimal OpenSIPS location db_text table definition


Db.text Sqlalchemy

Db text abbreviation

Example 1.3. Minimal OpenSIPS subscriber db_text table example

This database interface don't support the data insertion with default values. All such values specified in the database template are ignored. So its advisable to specify all data for a column at insertion operations.