_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c22800
train
// PgTsTemplateByTmplnameTmplnamespace retrieves a row from 'pg_catalog.pg_ts_template' as a PgTsTemplate. // // Generated from index 'pg_ts_template_tmplname_index'.
{ "resource": "" }
c22801
train
// PgTypeByOid retrieves a row from 'pg_catalog.pg_type' as a PgType. // // Generated from index 'pg_type_oid_index'.
{ "resource": "" }
c22802
train
// PgUserMappingByOid retrieves a row from 'pg_catalog.pg_user_mapping' as a PgUserMapping. // // Generated from index 'pg_user_mapping_oid_index'.
{ "resource": "" }
c22803
train
// Scan satisfies the sql.Scanner interface for StringSlice.
{ "resource": "" }
c22804
train
// Value satisfies the driver.Valuer interface for StringSlice.
{ "resource": "" }
c22805
train
// Save saves the DjangoContentType to the database.
{ "resource": "" }
c22806
train
// DjangoContentTypeByAppLabelModel retrieves a row from 'django.django_content_type' as a DjangoContentType. // // Generated from index 'django_content_type_app_label_76bd3d3b_uniq'.
{ "resource": "" }
c22807
train
// Save saves the AuthGroup to the database.
{ "resource": "" }
c22808
train
// AuthGroupByID retrieves a row from 'django.auth_group' as a AuthGroup. // // Generated from index 'auth_group_id_pkey'.
{ "resource": "" }
c22809
train
// Save saves the DjangoSession to the database.
{ "resource": "" }
c22810
train
// Delete deletes the DjangoSession from the database.
{ "resource": "" }
c22811
train
// Save saves the AuthPermission to the database.
{ "resource": "" }
c22812
train
// AuthPermissionsByContentTypeID retrieves a row from 'django.auth_permission' as a AuthPermission. // // Generated from index 'auth_permission_417f1b1c'.
{ "resource": "" }
c22813
train
// PgGetColOrder runs a custom query, returning results as PgColOrder.
{ "resource": "" }
c22814
train
// NewTemplateFuncs returns a set of template funcs bound to the supplied args.
{ "resource": "" }
c22815
train
// colcount returns the 1-based count of fields, excluding any Field with Name // contained in ignoreNames. // // Used to get the count of fields, and useful for specifying the last SQL // parameter.
{ "resource": "" }
c22816
train
// schemafn takes a series of names and joins them with the schema name.
{ "resource": "" }
c22817
train
// colname returns the ColumnName of col, optionally escaping it if // ArgType.EscapeColumnNames is toggled.
{ "resource": "" }
c22818
train
// hascolumn takes a list of fields and determines if field with the specified // column name is in the list.
{ "resource": "" }
c22819
train
// hasfield takes a list of fields and determines if field with the specified // field name is in the list.
{ "resource": "" }
c22820
train
// getstartcount returns a starting count for numbering columsn in queries
{ "resource": "" }
c22821
train
// PgEnums runs a custom query, returning results as Enum.
{ "resource": "" }
c22822
train
// String returns the name for the associated template type.
{ "resource": "" }
c22823
train
// String provides the string representation of RelType.
{ "resource": "" }
c22824
train
// Save saves the DjangoAdminLog to the database.
{ "resource": "" }
c22825
train
// DjangoAdminLogsByUserID retrieves a row from 'django.django_admin_log' as a DjangoAdminLog. // // Generated from index 'django_admin_log_e8701ad4'.
{ "resource": "" }
c22826
train
// Save saves the AuthUser to the database.
{ "resource": "" }
c22827
train
// DjangoAdminLogByID retrieves a row from 'django_admin_log' as a DjangoAdminLog. // // Generated from index 'django_admin_log_id_pkey'.
{ "resource": "" }
c22828
train
// AuthGroupsByName retrieves a row from 'public.auth_group' as a AuthGroup. // // Generated from index 'auth_group_name_a6ea08ec_like'.
{ "resource": "" }
c22829
train
// AuthGroupByName retrieves a row from 'public.auth_group' as a AuthGroup. // // Generated from index 'auth_group_name_key'.
{ "resource": "" }
c22830
train
// PgTableIndexes runs a custom query, returning results as Index.
{ "resource": "" }
c22831
train
// MsTables runs a custom query, returning results as Table.
{ "resource": "" }
c22832
train
// PgEnumValues runs a custom query, returning results as EnumValue.
{ "resource": "" }
c22833
train
// OrParseType parse a oracle type into a Go type based on the column // definition.
{ "resource": "" }
c22834
train
// PgIndexColumns runs a custom query, returning results as IndexColumn.
{ "resource": "" }
c22835
train
// PgTableForeignKeys runs a custom query, returning results as ForeignKey.
{ "resource": "" }
c22836
train
// MsTableForeignKeys runs a custom query, returning results as ForeignKey.
{ "resource": "" }
c22837
train
// Update updates the AuthPermission in the database.
{ "resource": "" }
c22838
train
// Delete deletes the AuthPermission from the database.
{ "resource": "" }
c22839
train
// Save saves the AuthGroupPermission to the database.
{ "resource": "" }
c22840
train
// AuthGroupPermissionsByPermissionID retrieves a row from 'django.auth_group_permissions' as a AuthGroupPermission. // // Generated from index 'auth_group_permissi_permission_id_84c5c92e_fk_auth_permission_id'.
{ "resource": "" }
c22841
train
// processArgs processs cli args.
{ "resource": "" }
c22842
train
// openDB attempts to open a database connection.
{ "resource": "" }
c22843
train
// getFile builds the filepath from the TBuf information, and retrieves the // file from files. If the built filename is not already defined, then it calls // the os.OpenFile with the correct parameters depending on the state of args.
{ "resource": "" }
c22844
train
// writeTypes writes the generated definitions.
{ "resource": "" }
c22845
train
// MyAutoIncrements runs a custom query, returning results as MyAutoIncrement.
{ "resource": "" }
c22846
train
// SqAutoIncrements runs a custom query, returning results as SqAutoIncrement.
{ "resource": "" }
c22847
train
// fmtIndexName formats the index name.
{ "resource": "" }
c22848
train
// BuildIndexFuncName builds the index func name for an index and its supplied // fields.
{ "resource": "" }
c22849
train
// reverseIndexRune finds the last rune r in s, returning -1 if not present.
{ "resource": "" }
c22850
train
// SinguralizeIdentifier will singularize a identifier, returning it in // CamelCase.
{ "resource": "" }
c22851
train
// SqParseType parse a sqlite type into a Go type based on the column // definition.
{ "resource": "" }
c22852
train
// SqTables returns the sqlite tables with the manual PK information added. // ManualPk is true when the table's primary key is not autoincrement.
{ "resource": "" }
c22853
train
// SqTableColumns returns the sqlite table column info.
{ "resource": "" }
c22854
train
// SqQueryColumns parses a sqlite query and generates a type for it.
{ "resource": "" }
c22855
train
// AuthGroupPermissionByID retrieves a row from 'public.auth_group_permissions' as a AuthGroupPermission. // // Generated from index 'auth_group_permissions_pkey'.
{ "resource": "" }
c22856
train
// Update updates the DjangoSession in the database.
{ "resource": "" }
c22857
train
// DjangoSessionsBySessionKey retrieves a row from 'public.django_session' as a DjangoSession. // // Generated from index 'django_session_session_key_c0390e0f_like'.
{ "resource": "" }
c22858
train
// TemplateLoader loads templates from the specified name.
{ "resource": "" }
c22859
train
// TemplateSet retrieves the created template set.
{ "resource": "" }
c22860
train
// ExecuteTemplate loads and parses the supplied template with name and // executes it with obj as the context.
{ "resource": "" }
c22861
train
// Execute executes a specified template in the template set using the supplied // obj as its parameters and writing the output to w.
{ "resource": "" }
c22862
train
// Save saves the AuthUserGroup to the database.
{ "resource": "" }
c22863
train
// AuthUserGroupByUserIDGroupID retrieves a row from 'auth_user_groups' as a AuthUserGroup. // // Generated from index 'auth_user_groups_user_id_94350c0c_uniq'.
{ "resource": "" }
c22864
train
// Update updates the AuthGroupPermission in the database.
{ "resource": "" }
c22865
train
// Delete deletes the AuthGroupPermission from the database.
{ "resource": "" }
c22866
train
// AuthUsersByUsername retrieves a row from 'public.auth_user' as a AuthUser. // // Generated from index 'auth_user_username_6821ab7c_like'.
{ "resource": "" }
c22867
train
// NthParam satisifies Loader's NthParam.
{ "resource": "" }
c22868
train
// Escape escapes the provided identifier based on the EscType.
{ "resource": "" }
c22869
train
// Relkind satisfies Loader's Relkind.
{ "resource": "" }
c22870
train
// SchemaName returns the active schema name.
{ "resource": "" }
c22871
train
// LoadSchema loads schema definitions.
{ "resource": "" }
c22872
train
// LoadEnums loads schema enums.
{ "resource": "" }
c22873
train
// LoadEnumValues loads schema enum values.
{ "resource": "" }
c22874
train
// LoadProcs loads schema stored procedures definitions.
{ "resource": "" }
c22875
train
// LoadProcParams loads schema stored procedure parameters.
{ "resource": "" }
c22876
train
// LoadForeignKeys loads foreign keys.
{ "resource": "" }
c22877
train
// LoadTableForeignKeys loads schema foreign key definitions per table.
{ "resource": "" }
c22878
train
// LoadIndexes loads schema index definitions.
{ "resource": "" }
c22879
train
// LoadTableIndexes loads schema index definitions per table.
{ "resource": "" }
c22880
train
// LoadIndexColumns loads the index column information.
{ "resource": "" }
c22881
train
// AuthPermissionByContentTypeIDCodename retrieves a row from 'public.auth_permission' as a AuthPermission. // // Generated from index 'auth_permission_content_type_id_01ab375a_uniq'.
{ "resource": "" }
c22882
train
// AuthPermissionByID retrieves a row from 'public.auth_permission' as a AuthPermission. // // Generated from index 'auth_permission_pkey'.
{ "resource": "" }
c22883
train
// PgSequences runs a custom query, returning results as Sequence.
{ "resource": "" }
c22884
train
// SqTableColumns runs a custom query, returning results as SqColumn.
{ "resource": "" }
c22885
train
// Save saves the AuthUserUserPermission to the database.
{ "resource": "" }
c22886
train
// AuthUserUserPermissionByUserIDPermissionID retrieves a row from 'django.auth_user_user_permissions' as a AuthUserUserPermission. // // Generated from index 'auth_use_user_id_14a6b632_uniq'.
{ "resource": "" }
c22887
train
// AuthUserUserPermissionsByUserID retrieves a row from 'django.auth_user_user_permissions' as a AuthUserUserPermission. // // Generated from index 'auth_user_user_permissions1cca'.
{ "resource": "" }
c22888
train
// Save saves the DjangoMigration to the database.
{ "resource": "" }
c22889
train
// MySchema retrieves the name of the current schema.
{ "resource": "" }
c22890
train
// MyEnumValues loads the enum values.
{ "resource": "" }
c22891
train
// MyTables returns the MySql tables with the manual PK information added. // ManualPk is true when the table's primary key is not autoincrement.
{ "resource": "" }
c22892
train
// MyQueryColumns parses the query and generates a type for it.
{ "resource": "" }
c22893
train
// NewDefaultArgs returns the default arguments.
{ "resource": "" }
c22894
train
// MsIdentities runs a custom query, returning results as MsIdentity.
{ "resource": "" }
c22895
train
// PgRelkind returns the postgres string representation for RelType.
{ "resource": "" }
c22896
train
// PgQueryStrip strips stuff.
{ "resource": "" }
c22897
train
// PgTables returns the Postgres tables with the manual PK information added. // ManualPk is true when the table does not have a sequence defined.
{ "resource": "" }
c22898
train
// PgQueryColumns parses the query and generates a type for it.
{ "resource": "" }
c22899
train
// PgIndexColumns returns the column list for an index.
{ "resource": "" }