npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jiesi6-object-server

v1.0.7

Published

create table object_class ( id int(10) unsigned not null auto_increment, create_time datetime not null default current_timestamp, name varchar(255) default null, scope varchar(100) default null, code varchar(100) not null, primary key(id) ) en

Downloads

5

Readme

#jiesi6-object-server

create table object_class ( id int(10) unsigned not null auto_increment, create_time datetime not null default current_timestamp, name varchar(255) default null, scope varchar(100) default null, code varchar(100) not null, primary key(id) ) engine=innodb auto_increment=10 default charset=utf8mb4; insert into object_class(id, name, code ) values (1, '对象类', 'object_class'), (2, '对象类属性', 'object_class_property');

create table object_class_property ( id int(10) unsigned not null auto_increment, create_time datetime not null default current_timestamp, body_id int(10) unsigned not null, name varchar(255) default null, code varchar(100) not null, type int(11) default null, object_class_id int(10) unsigned default null, foreign_name varchar(255) default null, object_key varchar(255) default null, relation_key varchar(255) default null, unique_key varchar(255) default null, pass_type varchar(255) default null, primary key(id), unique key object_class_property_body_id_code(body_id, code), constraint object_class_property_body_id_foreign foreign key(body_id) references object_class(id) on delete cascade, constraint object_class_property_object_class_id_foreign foreign key(object_class_id) references object_class(id) ) engine=innodb auto_increment=100 default charset=utf8mb4;

insert into object_class_property(id, body_id, name, code, type) values (1, 1, '类名', 'name', 1), (2, 1, '范围', 'scope', 1), (3, 1, '代码', 'code', 1);

insert into object_class_property(id, body_id, name, code, type, object_class_id, object_key, relation_key, unique_key) values (4, 1, '属性', 'property', 200, 2, 'id', 'body_id', 'code');

insert into object_class_property(id, body_id, name, code, type, foreign_name, object_class_id) values (5, 2, '对象', 'body_id', 100, 'object_class_property_body_id_foreign', 1);

insert into object_class_property(id, body_id, name, code, type) values (6, 2, '属性名', 'name', 1), (7, 2, '代码', 'code', 1), (8, 2, '类型', 'type', 2);

insert into object_class_property(id, body_id, name, code, type, foreign_name, object_class_id) values (9, 2, '关联对象', 'object_class_id', 100, 'object_class_property_object_class_id_foreign', 1);

insert into object_class_property(id, body_id, name, code, type) values (10, 2, '外键名', 'foreign_name', 1), (11, 2, '当前对象中的关联键', 'object_key', 1), (12, 2, '集合对象中的关联键', 'relation_key', 1), (13, 2, '集合对象的唯一键', 'unique_key', 1), (14, 2, '通道类型', 'pass_type', 1);