Sponsored Content
The Lounge What is on Your Mind? Patreon Badges Now Available as BBCODE at UNIX.COM Post 303029734 by Neo on Thursday 31st of January 2019 10:09:33 AM
Old 01-31-2019
PS:

I am a Patreon patron of Evan You, the inventor of Vue.js and so I send him around $10 a month to Evan You on Patreon because I admire his work on Vue.js.

I think if you go to my new Patreon page you can see that I am a sponsor of Evan You.

If you create a Patreon account I will also do the same for you, Don (and others).

It is based on gifting, sharing, caring and admiration... not transactions.
This User Gave Thanks to Neo For This Post:
 

6 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Testing BBCODE URL for DragonByte

Here is the URL we will use: https://www.unix.com/post-here-contact-site-administrators-moderators/241569-doesnt-allow-me-use-code-tags.html I will put this in this text with the URL BBCODE. Now I will save the thread and test the URL. (1 Reply)
Discussion started by: Neo
1 Replies

2. What is on Your Mind?

Changes to BBCODE for CODE and QUOTE

Hey, Scrollbars still do not work in code tags (works on mobile because the mobile site does not use any table tags, only div tags), but hopefully that will change when I convert the bits for post and threads to div tags or update to Bootstrap CSS for tables. In the meantime, I have update... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

New Badging System - Badges Prototype Beta 1 (Badges Only)

Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid: https://www.unix.com/members/1-albums215-picture991.png The prototype HTML code for this layout: <style> .fa-badge-grid { font-size: 1.5em; } .row { ... (38 Replies)
Discussion started by: Neo
38 Replies

4. What is on Your Mind?

Four More UNIX.COM Achievement Award Badges to Award

Happy New Year! There are currently four UNIX.COM achievement awards up for grabs, as the say. Here they are, in no particular order: The Order of the Raven The Order of the Hippo The Order of the Spider The Order of the Dragon Don't ask me what they mean, or who who will get those... (0 Replies)
Discussion started by: Neo
0 Replies

5. What is on Your Mind?

Black Raven Patreon Tier

Dear All, We have received a number of requests in the past year from members who want to send PMs to ask questions because they prefer to ask questions confidentially. Their reasons for this confidentially have primarily been: They want to include company specific information which needs... (0 Replies)
Discussion started by: Neo
0 Replies

6. What is on Your Mind?

Thank You Patreon Sponsors - Your Patreon Dollars at Work

Thank You Patreon Sponsors! We are using your generous sponsorship dollars for software and media licensing. Your patronage is greatly appreciated! Currently, we are working on new tech videos on the YouTube YT channel, which is the new official media channel for unix.com. ... (0 Replies)
Discussion started by: Neo
0 Replies
sqlheavy-gen-orm(1)						     SQLHeavy						       sqlheavy-gen-orm(1)

NAME
sqlheavy-gen-orm - SQLHeavy ORM Generator SYNOPSIS
sqlheavy-gen-orm [OPTION...] SOURCE... DESCRIPTION
This tool will generate a Vala file which provides an object for each table in the specified database(s), each of which extends the SQL- HeavyRecord class. You should pass at least one SQLite database file, which it will examine to produce the output. Additionally, you can specifiy metadata files (which is a key file), as well as vala files to provide custom code in the output. OPTIONS
--help -o, --output=FILE Write output to FILE (defaults to stdout) -m, --metadata=FILE Load metadata from FILE --vapidir=DIRECTORY Look for package bindings in DIRECTORY --pkg=PACKAGE Include binding for PACKAGE -o, --output=FILE Output to FILE (default is stdout) -p, --properties Write properties instead of methods METADATA FORMAT
The concept of the metadata files is similar to that of vapigen (in fact, the entire sqlheavy-gen-orm tool is largely inspired by vapigen), but it uses the key file format so that it can use the GLib Key-Value file parser. Databases, tables, and columns are all represented by groups, each of which may have any number of properties (the key value pairs). Selectors The format for the selectors is relatively straightforward. A forward slash ("/") is used as the separator character, and prepending an @ to a token means that token refers to a database, and prepending a % means that token refers to a table. The database name is the name of the database file, not including the last dot character and anything following it (i.e., the extension). An asterisk can be used as a wild- card. Several examples, as well as an explanation of each: @foo/bar/baz The baz symbol in the bar table in the foo database. @foo The foo database %bar/baz The baz column in the bar table in any database baz The baz column in any table in any database @foo/*/baz The baz column in any table in the foo database */bar The bar table in any database Properties Properties are represented by key-value pairs. The following is a table of currently implemented properties: +-------+--------+------------+---------------------------------+ | Name | Type | DB/TBL/COL | Purpose | +-------+--------+------------+---------------------------------+ |name | string | Y/Y/Y | Rename the symbol | |type | string | N/N/Y | Set the Vala type of the column | |hidden | bool | Y/Y/Y | Do not create a binding | +-------+--------+------------+---------------------------------+ Custom Vala In addition to providing one or more SQLite database as a basis for code generation, you can provide an existing *.vala file. Theoreti- cally, this will allow you to place custom code in a separate file, so that you can use sqlheavy-gen-orm to update the generated code with- out losing whenever the database schema changes, and you will not lose any enhancements you made. The generated code will be merged into the custom vala file in order to generate the output. HOMEPAGE AND BUG REPORT
http://code.google.com/p/sqlheavy AUTHORS
Evan Nemerson sqlheavy-gen-orm-0.0.1 29 April 2010 sqlheavy-gen-orm(1)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy